Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login on android opens up browser with an invalid Redirect URI #5

Open
Paramesh-C opened this issue Mar 5, 2018 · 0 comments
Open

Comments

@Paramesh-C
Copy link

Paramesh-C commented Mar 5, 2018

On making the login request, the app opens up browser with the following URL returns a response which mentions the redirect_uri doesn't match the registered URIs. (Happens when Pinterest Android APP is not installed)

https://api.pinterest.com/oauth/?client_id=+4926105309897833856&scope=read_public&redirect_uri=pdk+4926105309897833856%3A%2F%2F&response_type=token

{ status: "failure", message: "You are not permitted to access that resource.", code: 7, data: "The provided redirect_uri pdk 4926105309897833856:// does not match any of the registered redirect URIs." }

The pinterest currently allows only the redirect URIs which uses https:// protocol. While the redirect URI from the below request has something like pdk+4926105309897833856%3A%2F%2F. So the login is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant