Skip to content

Keycloak and Gokapi #82

Answered by MrMysterius
MrMysterius asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry Forgot to answer but I found it. I set my key cloak root URL wrong (It was https://domain.tld now it is https://domain.tld/auth), so the issuer would miss match (also the URL in the configuration had no endpoint), and in gokapi it worked with this URL https://domain.tld/auth/realms/{realm}.

From this URL it gets the well-known openid configuration (https://domain.tld/auth/realms/{realm}/.well-known/openid-configuration). That's what I found out looking up how the go openid implementation (github.com/coreos/go-oidc/v3/oidc) does it.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MrMysterius
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MrMysterius
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