Skip to content

Include 'urn:ietf:params:oauth:grant-type:token-exchange' in grant_ty…#10904

Merged
pedroigor merged 1 commit intokeycloak:mainfrom
eosc-kc:token_exchange_grant_types_supported
Jun 30, 2022
Merged

Include 'urn:ietf:params:oauth:grant-type:token-exchange' in grant_ty…#10904
pedroigor merged 1 commit intokeycloak:mainfrom
eosc-kc:token_exchange_grant_types_supported

Conversation

@cgeorgilakis
Copy link
Copy Markdown
Contributor

…pes_supported field of Keycloak OP metadata, if token-exchange is enabled

closes #10888

…pes_supported field of Keycloak OP metadata, if token-exchange is enabled

closes keycloak#10888
Copy link
Copy Markdown
Contributor

@DGuhr DGuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :) thanks.

one could think about using a different List GRANT_TYPES_SUPPORTED in addition to DEFAULT_GRANT_TYPES_SUPPORTED, as the default list now can also contain non-default entries depending on the feature. Then adding the optional grant type for token exchange to that list instead and use that list later on. but not blocking the PR imo.

@cgeorgilakis
Copy link
Copy Markdown
Contributor Author

Changing the list name is not a problem. I agree that GRANT_TYPES_SUPPORTED may be better name.

Is anything else blocking accepting this issue? Or you plan to make Token Exchange a default feature in Keycloak 19? If you do this, 'urn:ietf:params:oauth:grant-type:token-exchange' must be added to DEFAULT_GRANT_TYPES_SUPPORTED list.

@cgeorgilakis cgeorgilakis requested a review from DGuhr June 29, 2022 06:53
@DGuhr DGuhr requested a review from pedroigor June 29, 2022 07:34
@pedroigor pedroigor merged commit 32f8f30 into keycloak:main Jun 30, 2022
@pedroigor
Copy link
Copy Markdown
Contributor

@cgeorgilakis Thanks.

@cgeorgilakis cgeorgilakis deleted the token_exchange_grant_types_supported branch April 11, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include 'urn:ietf:params:oauth:grant-type:token-exchange' in grant_types_supported field of Keycloak OP metadata, if token-exchange is enabled

3 participants