Skip to content

fix: Always require strategy parameter in authentication#1327

Merged
daffl merged 1 commit intomasterfrom
auth-strategy
May 4, 2019
Merged

fix: Always require strategy parameter in authentication#1327
daffl merged 1 commit intomasterfrom
auth-strategy

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