Keycloak Admin Client - ID Token #8668
Unanswered
a-maggioni
asked this question in
Q&A
Replies: 1 comment
-
The purpose of admin client is to invoke the Admin APIs (OAuth), and not as a library to authenticate with (OIDC). So, it sounds like you should be looking for a different library. |
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
-
I would like to use the keycloak admin client to get an ID token programmatically.
I've tried to use the
getAccessToken
method ofTokenManager
class, but the response contains only an access token (without ID token). As far as I know his is because thegrantToken
method doesn't add theopenid
scope in the request.Is there an alternative way to get an ID token?
Beta Was this translation helpful? Give feedback.
All reactions