Skip to content

How to configure when keycloak is in Kubernetes? #163

Answered by ch4mpy
david-randoll asked this question in Q&A
Discussion options

You must be logged in to vote

You should use the service public name. For instance, the issuer for my Keycloak instance in K8s for the quiz application is https://oidc.c4-soft.com/auth/realms/quiz.

If you can't configure Keycloak to use a hostname accessible from your resource server, then define the jwk-set-uri in addition to (keeps the issuer validator in JWT decoder) or instead of (removes the issuer validation) the iss property.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@david-randoll
Comment options

@ch4mpy
Comment options

Answer selected by ch4mpy
Comment options

You must be logged in to vote
5 replies
@david-randoll
Comment options

@david-randoll
Comment options

@ch4mpy
Comment options

@ch4mpy
Comment options

@david-randoll
Comment options

Comment options

You must be logged in to vote
3 replies
@ch4mpy
Comment options

@david-randoll
Comment options

@ch4mpy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants