Managing DCR Initial Access Tokens from a Keycloak Admin Client

Skip to first unread message

Joao Lourenco

Sep 7, 2023, 2:10:59 PM9/7/23
to Keycloak User
I have a use case, where i need to be able to create a Realm and initialize it with an Initial Access Token for the DCR flow, through Keycloak's API using the Keycloak Admin Client Quarkus extension.
These initial tokens will also be managed programatically.
I have managed to find the ClientInitialAccessCreatePresentation and ClientInitialAccessPresentation classes, but i haven't figured out how to use them.
All the examples that i have seen of using these classes, were in Keycloak's code, and don't seem to apply to Keycloak Admin Client.

Any suggestions?

Thank you,
Best Regards

Reply all
Reply to author
0 new messages