orthanc-team/orthanc-auth-service

CODE_TO_TOKEN_ERROR: Invalid Client Credentials when Integrating Orthanc with Keycloak

Ebrown98 opened this issue · 0 comments

Hi,

I am currently integrating Orthanc with Keycloak for authentication and authorization. However, I keep encountering the following error when attempting to exchange an authorization code for a token

2024-08-21 14:48:05,613 WARN [org.keycloak.events] (executor-thread-21) type=CODE_TO_TOKEN_ERROR, realmId=78358ca9-a95f-4725-b8bb-3d60ef9c6fab, clientId=orthanc-client, userId=null, ipAddress=172.17.0.1, error=invalid_client_credentials, grant_type=authorization_code

Could this issue be related to my Client's Capability config in Keycloak? Currently, I have the following options enabled

Client authentication
Standard flow
Direct access grants
Service accounts roles