[keycloak-user] Get Access Token to service account using Java code

Hylton Peimer hylton.peimer at datos-health.com
Thu Jun 8 23:22:35 EDT 2017


I have written a provider which implements the UserStorageProviderFactory
to connect Keycloak to a legacy system.

I need to get an AccessToken (for a realm service account) in the Java code.

Is there a way to achieve this in Java, without a network call to
"/protocol/openid-connect/token"?


More information about the keycloak-user mailing list