How to get OIDC Access Token with Keycloak 16.1.1

58 views
Skip to first unread message

Juan Manuel Rivera

unread,
Jun 20, 2023, 2:44:28 PM6/20/23
to dcm4che
Hello,

I have followed the Secure Archive UI and RESTful Services using Keycloak tutorial, using Archive version 5.29.2 and I could deploy the Archive.

Now I need to create a token so I can send HTTP requests from another app, but the documentation page seems to be using another keycloak version (there is no "Service accounts roles" option in the Clients settings)

Does anyone know how can I configure the client so I can generate tokens?

Here is a screenshot of the clients upper menu
Captura.JPG

Juan Manuel Rivera

unread,
Jun 22, 2023, 4:05:46 PM6/22/23
to dcm4che
In order to enable service accounts, the access type has to be "Confidential". After saving,  the "Service account roles" and "Credentials" tab appear, and everything can be done as shown in the tutorial.

I hope this may be useful for someone someday

Reply all
Reply to author
Forward
0 new messages