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
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use the keycloak admin client to get an ID token programmatically.
I've tried to use the
getAccessTokenmethod ofTokenManagerclass, but the response contains only an access token (without ID token). As far as I know his is because thegrantTokenmethod doesn't add theopenidscope in the request.Is there an alternative way to get an ID token?
Beta Was this translation helpful? Give feedback.
All reactions