Using simpleauth to login in with GAE

2019-06-14 17:22发布

This question is in the reference of this. As suggested I am using simpleauth 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.

1条回答
叛逆
2楼-- · 2019-06-14 18:12

Request url should be http://localhost:8080/auth/linkedin2/callback. Now it's working.

查看更多
登录 后发表回答