-
Notifications
You must be signed in to change notification settings - Fork 173
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
fixes #2681 adds targetToken support for ext jwt signers #2686
base: main
Are you sure you want to change the base?
Conversation
andrewpmartinez
commented
Jan 23, 2025
- adds targetToken of values ACCESS, ID for management API CRUD
- adds targetToken to client API reads
- adds --target-token to external jwt signers CLI
- updates/adds tests
- adds targetToken of values ACCESS, ID for management API CRUD - adds targetToken to client API reads - adds --target-token to external jwt signers CLI - updates/adds tests
|
||
DefaultClaimsProperty = "sub" | ||
|
||
TargetTokenAccess = "ACCESS" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No TargetTokenID ?
Kid: S(uuid.New().String()), | ||
Issuer: S(uuid.NewString()), | ||
Audience: S(uuid.NewString()), | ||
TargetToken: ToPtr(rest_model.TargetTokenID), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should there be a test when it's left empty or when it's an invalid value? i didn't see such a test but it's kinda hard to scan for a missing value
Kid: S(uuid.NewString()), | ||
Issuer: S(uuid.NewString()), | ||
Audience: S(uuid.NewString()), | ||
TargetToken: nil, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh i think i found the nil test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm