-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Allow name template when login via auth method #19134
Comments
Hi @jorgemarey and thanks for raising this feature request. This is something we would certainly like to support and is already being tracked by #18969. I will therefore close this out as a duplicate. |
Sorry @jrasell I didn't notice :( |
No need to be sorry. I have assigned the PR to myself for review and will get an initial one done soon. Thanks for raising it; I'm very excited to see this addition and was about to work on it, so perfect timing! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Proposal
Allow setting a token name template so when someone makes login via a nomad auth method, the token has information about which user belongs to.
Currently, when making a login using JWT the token name is fixed to "JWT-<auth_name>" for every token generated by that auth method. As the token doesn't have any metadata, this has no information about the real user behind that token, when auditing requests it'll be very useful to have that information.
Possible Solutions
The text was updated successfully, but these errors were encountered: