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

Issues/1880 #1930

Merged
merged 3 commits into from
Apr 16, 2021
Merged

Issues/1880 #1930

merged 3 commits into from
Apr 16, 2021

Conversation

pmlopes
Copy link
Member

@pmlopes pmlopes commented Apr 16, 2021

Motivation:

Properly implement chaining of authentication handlers. The current implementation chains only the parsing of the credentials. This is usually enough if all handlers in the chain are for different kinds of authentication. However for chains of the same kind, e.g.: jwt + jwt it always fails as the parsing of the authorization header always succeeds on the 1st handler.

This PR reworks the internals that the whole authn is taken into account.

Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
…e credentials

Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
@pmlopes pmlopes added the bug label Apr 16, 2021
@pmlopes pmlopes added this to the 4.1.0 milestone Apr 16, 2021
@pmlopes pmlopes linked an issue Apr 16, 2021 that may be closed by this pull request
@pmlopes
Copy link
Member Author

pmlopes commented Apr 16, 2021

Depends on #1929

@pmlopes pmlopes mentioned this pull request Apr 16, 2021
@pmlopes pmlopes merged commit 1d76093 into master Apr 16, 2021
@pmlopes pmlopes deleted the issues/1880 branch October 1, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 participant