Skip to content
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

Add endpoint discovery to realm #918

Open
mingfang opened this issue Jan 11, 2024 · 0 comments
Open

Add endpoint discovery to realm #918

mingfang opened this issue Jan 11, 2024 · 0 comments

Comments

@mingfang
Copy link

mingfang commented Jan 11, 2024

Keycloak implements the OIDC Discovery specification.
The metadata endpoint is a <base URL>/.well-known/openid-configuration.
This endpoint returns all the other endpoints that are needed by applications, like this one
https://github.com/mrparkers/terraform-provider-keycloak/blob/master/example/external_token_exchange_example.tf#L27

With the new endpoint discovery feature, that code may look like this

  authorization_url  = keycloak_realm.token-exchange_source_realm.authorization_url

or like this, if we want to put all the endpoints in one place

  authorization_url  = keycloak_realm.token-exchange_source_realm.endpoints.authorization_url
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

No branches or pull requests

1 participant