Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Conversation

@angelakis
Copy link
Contributor

This PR is closely related to #59 which had the same goal but the target had been changed too many times and we decided to rebase these changes on top of the new session handling.

This is a pull request to implement token exchange a.k.a. RFC 8693.

It implements basic support for token exchange meaning that only access tokens and JWTs can be exchanged for new ones (e.g. with different scopes). I included a policy config when initializing the token endpoint and grant type but I believe we won't need it for the simpler use cases.

For a first implementation, we would like a simple functionality to
create new access tokens with altered scopes. Through
grant_types_supported a customized class can be set to handle token
exchange so an app can implement any missing functionality
it requires.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant