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

fix: Always require strategy parameter in authentication #1327

Merged
merged 1 commit into from
May 4, 2019

Conversation

daffl
Copy link
Member

@daffl daffl commented May 4, 2019

Running through all strategies is inefficient and confusing. This PR always requires strategy property for authentication and will only run that strategy and return its error or success.

Closes #1323

@daffl daffl merged commit d4a8021 into master May 4, 2019
@daffl daffl deleted the auth-strategy branch May 4, 2019 02:00
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.

[Feathers 4.0.0-pre] Trying every strategy and throwing is wasteful
1 participant