-
Notifications
You must be signed in to change notification settings - Fork 4
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
coexistence with bearer tokens #84
base: main
Are you sure you want to change the base?
Conversation
The WIT and WPT define new HTTP headers. They can therefore be presented along with existing headers used for JWT bearer tokens. This | ||
property allows for transition from mechanisms using identity tokens based on bearer JWTs to proof of possession based WITs. | ||
A workload may implement a policy that accepts both bearer tokens and WITs during a transition period. This policy may be configurable | ||
per-caller to allow the workload reject bearer tokens from callers that support WITs. Once a deployment fully supports WITs, then the use of |
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.
per-caller to allow the workload reject bearer tokens from callers that support WITs. Once a deployment fully supports WITs, then the use of | |
per-caller to allow the workload to reject bearer tokens from callers that support WITs. Once a deployment fully supports WITs, then the use of |
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.
Suggest to add: Implementations should be careful when implementing such a transition strategy, since the decision which token to prefer is made when the caller's identity has still not been authenticated, and needs to be revalidated following the authentication step.
authorization policy may take into account both the sending workload's identity and the information in the context token. For example, the | ||
identity in the WIT may be used to establish which API calls can be made and information in the context token may be used to determine | ||
which specific resources can be accessed. | ||
|
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.
This is OK for now, but I think eventually we will want one subsection for coexistence with legacy stuff and another for authorization.
Resolve with Issue #53