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

Improve JWT format with namespaces grouping #175

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ThomasCAI-mlv
Copy link
Collaborator

@ThomasCAI-mlv ThomasCAI-mlv commented Jan 7, 2025

This PR changes how to parse the JWT received by ns4kafka /login endpoint.

As this ns4kafka PR changes the format of the JWT, by replacing the string namespace field in roleBindings by a list of string namespaces field, the kafkactl auth info command line should handle the new format and display correctly the role bindings of the user.

Signed-off-by: thcai <[email protected]>
@ThomasCAI-mlv ThomasCAI-mlv added the enhancement This issue or pull request improves a feature label Jan 7, 2025
@ThomasCAI-mlv ThomasCAI-mlv self-assigned this Jan 7, 2025
@ThomasCAI-mlv ThomasCAI-mlv changed the title Fix jwt parsing Improve JWT format with namespaces grouping Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue or pull request improves a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant