Getting "invalid_client_credentials" exception when using special characters in client secret on RHBK
Issue
- Clients encounter authentication issues, resulting in HTTP 401 errors.
-
Server logs display an
invalid_client_credentialserror for the affected client.WARN [org.keycloak.events] (executor-thread-18) type="LOGIN_ERROR", realmId="***", realmName="***", clientId="***", userId="null", ipAddress="***", error="invalid_client_credentials", grant_type="password"
Environment
- Red Hat build of Keycloak (RHBK)
- 22
- 24
- 26
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.