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

feat(authentication-oauth): Set oAuth redirect URL dynamically #1737

Merged
merged 3 commits into from
Jan 14, 2020
Merged

feat(authentication-oauth): Set oAuth redirect URL dynamically #1737

merged 3 commits into from
Jan 14, 2020

Conversation

elv1n
Copy link
Contributor

@elv1n elv1n commented Dec 14, 2019

Set oAuth redirect URL dynamically and pass query into the service

Summary

Update for request #1591

I separated the query and redirect property as the query will be passed in to create or patch methods.
Patch method uses query to update the user and redirect always will be there so devs will need to override patch method to drop redirect from the query.
I found it most convenient but we can add it into the documentation and leave redirect in query

@daffl daffl merged commit 0b05f0b into feathersjs:master Jan 14, 2020
EliSadaka pushed a commit to yusernetwork/authentication-oauth that referenced this pull request Oct 20, 2020
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

Successfully merging this pull request may close these issues.

2 participants