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,