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

Possibility to define redirectURL in the config #24

Open
dangrahn opened this issue Apr 12, 2013 · 0 comments
Open

Possibility to define redirectURL in the config #24

dangrahn opened this issue Apr 12, 2013 · 0 comments

Comments

@dangrahn
Copy link

There should to be a possibility to define the redirectURL in the config, since some oauth providers only accepts one single pre-defined redirect url. This means that it won't be possible to use e.g. the 'http://www.facebook.com/robots.txt' one if you add oauth authentication on e.g. your main site as well (hence need another redirectURL than facebooks robot.txt).

I tried to add this support, but ended up getting problems after the redirect since the config wasn't known at that point (since it hadn't been saved to local storage yet) hence I couldn't call the redirectURL(config) since config was unknown. I'm sure this can be solved but I haven't had time to go to the bottom with this, so right now I just modified the redirect url in the provider library file.

Btw, thanks for a great extension oauth library! Have made my life a lot easier already! :)

SpeCT added a commit to SpeCT/oauth2-extensions that referenced this issue Aug 6, 2013
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