Solution to redirect uri is illegal (100010) prompt on QQ login

Source: Internet
Author: User
Tags oauth openid php and
Around March 2015, Tencent's QQ internet development platform adjusted the rules for filling in the callback address of QQ login applications to fix security problems that may occur due to the vulnerability in the callback address during QQ login.

 

Many bloggers have been familiar with this topic, but they only learned about it in April. Since April, all newly applied QQ interconnected applications, the callback address cannot only fill in the root domain name, for example: unvs.cn, this is not allowed.

 

Solution:You must enter the real callback address Page returned by your application QQ logon. It must start with HTTP: // and end with the page name, for example, http://www.unvs.cn/oauth/default.aspx.

 

Otherwise, after clicking the QQ logon icon, the" Redirect uri is illegal (100010)"Error code, as shown in the following figure:

 

Modification method and location:
1, enter the QQ platform: http://connect.qq.com/

 

2. Choose "management center"> "my applications"> "basic application information" and modify the callback address, as shown in the following figure:

 

3. What if there are multiple callback addresses? If your domain name is divided into www and www, you must enter two callback addresses. The correct method is to split the two callback address pages by semicolons. The same applies to multiple callback addresses, such as: http://www.unvs.cn/oauth/default.aspx;http://unvs.cn/oauth/default.aspx

 

Finally, for example, fill in the callback addresses of two common e-commerce programs, the third-party login plug-in of the ecshop program, and the callback address is: http: // domain name/user. for php and hishop programs, enter http: // domain name/openid/OpenIdEntry_hishop.plugins.openid.qq.qqservice.aspx in the QQ login callback address.

 

Well, we can sum up so much. In fact, the article can be summarized in one sentence, but I still hope to clearly explain the reasons, solutions and operations, and hope to help you,

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.