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

Get all values from auth header in header auth #1277

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

ThomasK33
Copy link
Contributor

When setting up the header auth with Traefik's OIDC Middleware, Micronauts already parsed the group's header into a list before AKHQ could.

Invoking request.getHeaders().get[...] only returned the group list's first entry and not the entire list.
Thus, one could not configure access for a user who's a member of multiple groups.

This change should be fully compatible with the group header being raw yet separated string and a pre-parsed list of strings.

@tchiotludo tchiotludo merged commit 0c0e385 into tchiotludo:dev Jan 2, 2023
@tchiotludo
Copy link
Owner

didn't test but seems to be a valid one! thanks !!!

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