Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Fetch keycloak public key automatically #2

Open
cehbrecht opened this issue Jan 27, 2020 · 2 comments
Open

Fetch keycloak public key automatically #2

cehbrecht opened this issue Jan 27, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cehbrecht
Copy link
Member

See keycloak docu:
https://www.keycloak.org/docs/latest/securing_apps/index.html#_certificate_endpoint

public should be added to the config ... but can also be set manually by the user.

@cehbrecht cehbrecht added the enhancement New feature or request label Jan 27, 2020
@cehbrecht cehbrecht self-assigned this Jan 27, 2020
@cehbrecht cehbrecht added this to the 0.2.0 milestone Jan 27, 2020
@cehbrecht
Copy link
Member Author

The correct keycloak url is:
/auth/realms/{realm}/protocol/openid-connect/certs

@cehbrecht
Copy link
Member Author

cehbrecht commented Feb 4, 2020

Example with token validation using public key:
http://www.janua.fr/keycloak-access-token-verification-example/

The x5c filed value is copied between
—–BEGIN CERTIFICATE—–
—–END CERTIFICATE—– directives .

ping @watucker

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant