使用simpleauth使用GAE登录 [英] Using simpleauth to login in with GAE
问题描述
这个问题在这个的参考文献中。建议我使用 simpleaut
h通过linkedin登录。现在我遇到了 redirect_uri
的问题。我成功部署了 dev_appserver.py示例/ ,但是当我点击LinkedIn Oauth2时,出现此错误。
我从网址重定向URI:
redirect_uri = http%3A%2F%2Flocalhost%3A8080%2Fauth%2Flinkedin2%2Fcallback
我输入了相同的重定向网址( http:// localhost:8080 / auth / linkedin / callback )在 https://www.linkedin.com/developer/ 页面。
我已经被前一个图书馆困住了,即使这样现在看起来并不适合我。
请求网址应该是 http:// localhost:8080 / auth / linkedin2 /回调。现在它正在工作。
This question is in the reference of this. As suggested I am using simpleaut
h to login via linkedin. Now I am having trouble with the redirect_uri
. I have successfully deployed dev_appserver.py example/ but when I click on LinkedIn Oauth2, I get this error.
invalid redirect_uri. This value must match a URL registered with the API Key.
My redirect uri from url:
redirect_uri= http%3A%2F%2Flocalhost%3A8080%2Fauth%2Flinkedin2%2Fcallback
And I have entered same redirect url(http://localhost:8080/auth/linkedin/callback) in https://www.linkedin.com/developer/ page.
I was already stuck with previous library, and even this doesn't seems to work for me now.
Request url should be http://localhost:8080/auth/linkedin2/callback. Now it's working.
这篇关于使用simpleauth使用GAE登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!