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

Error with redirect_uri option #1

Open
archr opened this issue Aug 4, 2015 · 2 comments
Open

Error with redirect_uri option #1

archr opened this issue Aug 4, 2015 · 2 comments

Comments

@archr
Copy link

archr commented Aug 4, 2015

Hello, nice work with the oauth agents.

Currently I'm having a problem with the redirect_uri option. I think it is not necessary to add the '/' in the end of redirect_uri. I added the redirect_uri in 'Client OAuth Settings':

http://localhost:3000/auth/facebook/callback

and this works without the '/' when I deleted

https://github.com/lapwinglabs/facebook-oauth-agent/blob/master/lib/server.js#L49

@matthewmueller
Copy link
Member

Oh interesting, I wonder if it just needs to exactly match, / or not.

@archr
Copy link
Author

archr commented Aug 5, 2015

Only it needs to be equal to the url that was added in the Settings.

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

2 participants