javascript - QQ third-party login problem
漂亮男人
漂亮男人 2017-05-24 11:38:43
0
1
824

When requesting the qq login interface to obtain access_token, the address parameter that jumps back will be followed by a # sign. In this case, I cannot use nodejs's req.query.access_token to get this parameter. This is the case in the developer documentation. That said, how do I remove the # number

?

If the user allows authorization, successfully jump to the specified redirect_uri, add "#" after the URL, and bring Access Token, expires_in and other parameters. If there is already a "#" sign after the redirect_uri address, add an "&" sign and bring the corresponding return parameters. For example, the callback address is: www.qq.com, it will jump to:

http://www.qq.com/?#access_token=YOUR_ACCESS_TOKEN&expires_in=3600
漂亮男人
漂亮男人

reply all(1)
曾经蜡笔没有小新

Which document are you looking at?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template