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: Support params symbol to skip authenticate hook #1296

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

daffl
Copy link
Member

@daffl daffl commented Apr 18, 2019

When running authentication strategies the params are being passed on but there needs to be an indicator for the authenticate hook to not run to avoid infinite loops (e.g. if a service called by an authentication strategy also has the authenticate hook). This PR adds an AUTHENTICATE symbol that the authentication core uses as a flag to skip the authenticate hook.

@daffl daffl merged commit d16cf4d into master Apr 18, 2019
@daffl daffl deleted the authenticate-symbol branch April 18, 2019 21:57
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.

1 participant