Hide realm from endpoints, JWT issuer, URLs advertised in the well-known endpoint etc #12154
Unanswered
nishanthreddy
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @nishanthreddy I don't think that's possible today. Although there are some alternatives to that:
I hope it helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to hide realm from endpoints, JWT issuer, URLs advertised in the well-known endpoint etc?
Instead of
https://mydomain.com/realms/master/protocol/openid-connect/token -> https://mydomain.com/protocol/openid-connect/token
Likewise the response of .well-known/openid-configuration should not have realm
{
issuer: "https://mydomain.com/
realms/master,authorization_endpoint: "https://mydomain.com/
realms/master/protocol/openid-connect/auth",token_endpoint: "https://mydomain.com/
realms/master/protocol/openid-connect/token”,….
}
Issued JWT:
{
"exp": 1652818065,
"iat": 1652817765,
"iss": "https://mydomain.com/
realms/master”,….
}
FrontendURL and the various related settings would not accomplish removing or /realm/{realmname} pattern from the url and it doesn’t seem feasible to achieve this without requiring edits in the Keycloak source code.
Beta Was this translation helpful? Give feedback.
All reactions