WeChat website License Login Android failed! iOS success!

Source: Internet
Author: User
Today do Web licensing login, encountered a very pit problem, I use the test number to do a Web site authorization login in the local debugging on the Android side and iOS can be, but deployed to the official server, iOS can, Android never can, Later debug found on Android authorized login always after authorization callback is completed according to code get OpenID here error, but iOS is always successful, get a day completely do not carry clear, local debugging has completely no problem, who knows what reason, according to the online search of various data invalid after here for help

Get OpenID Android return failure message: {"Errcode": 40029, "errmsg": "Invalid Code, hints: [REQ_ID:8H_OSA0564NS12]"}

Today debugging, found on the iOS side only authorized once, so successfully return the user information but after the first successful authorization of Android, it again authorization, and get Access_token code can only use 1 times, resulting in a failure, There is no reason or solution to know that it authorized 2 times!

Reply content:

Today do Web licensing login, encountered a very pit problem, I use the test number to do a Web site authorization login in the local debugging on the Android side and iOS can be, but deployed to the official server, iOS can, Android never can, Later debug found on Android authorized login always after authorization callback is completed according to code get OpenID here error, but iOS is always successful, get a day completely do not carry clear, local debugging has completely no problem, who knows what reason, according to the online search of various data invalid after here for help

Get OpenID Android return failure message: {"Errcode": 40029, "errmsg": "Invalid Code, hints: [REQ_ID:8H_OSA0564NS12]"}

Today debugging, found on the iOS side only authorized once, so successfully return the user information but after the first successful authorization of Android, it again authorization, and get Access_token code can only use 1 times, resulting in a failure, There is no reason or solution to know that it authorized 2 times!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.