Private key JWT with Keycloak not authorizing against Acitve Directory

188 views
Skip to first unread message

Hari Kurichiyath

unread,
Mar 1, 2023, 12:57:50 AM3/1/23
to Keycloak User
Hello

I set up Private key JWT in Keycloak but when trying to sso login gets an authentication error from Azure Active directory

Created a client and an oidc identity Provider in KC. In the provider added all the mandatory values.

In the client, under Credentials tab chose signed jwt. Generated new keys and certificate from the Keys tab

Added this public certificate to Active directory.

When trying to SSO login from the application, authentication fails.

Was following the section 'Signed JWT' in the doco to set it all up - https://www.keycloak.org/docs/18.0/server_admin/#_client-credentials

Any pointers?


Hari Kurichiyath

unread,
Aug 11, 2025, 2:52:05 AMAug 11
to Keycloak User
Seems KC fixed it in version 24 https://github.com/keycloak/keycloak/issues/19425
Reply all
Reply to author
Forward
0 new messages