How can I test the QQ login function locally? Currently, one-click QQ login is being developed, that is, the function of directly logging on to the Forum using the QQ number. However, if localhost is used as the callback domain name, there is no way to test the function. the following prompt is displayed:
The error of 'redirect _ uri 'indicates that the bound domain name must be used for testing, but I want to test it locally. what should I do?
Reply to discussion (solution)
P brother, just enter a baidu or something. if you want to get the parameters returned from the callback domain name
Configure the VM locally during debugging
P brother, just enter a baidu or something. if you want to get the parameters returned from the callback domain name
I swear to defend your right to speak, but it is obvious that your statement is not true.
You need to enter the QQ space developer application and apply for the appkey.
You entered the callback address on QQ, right? So what is the solution.
Or you can download an oauth phpWebservice from the QQ space developer app mentioned in LS. remember that there are two versions in the phpWebservice. you can select one and download it. according to the instructions, the document is mounted locally for development and testing first.
Http://wiki.opensns.qq.com/wiki/%E3%80%90QQ%E7%99%BB%E5%BD%95%E3%80%91SDK%E4%B8%8B%E8%BD%BD
Configure redirectURI = www. the domain name you entered. com? Url = "http: 192.168.1. local IP: 8080/Redirect Method"
You can test it.