Keycloak : Client not found exception?
The error message indicates that the client ID and the realm of your client application don't match the configured clients on the Keycloak server.
Please check the exact (case-sensitive) spelling. Client ID (in Keycloak -> Clients -> Settings) need to match resource on your client and the Name (in Realm Settings -> General) needs to match realm on your client.
You can also go the Client -> Installation -> Format JSON and look at the JSON configuration. I reduced it to the two relevant entries.
{
"realm": "...",
"resource": "...",
...
}
Related videos on Youtube
Subodh Joshi
A Developer from India . I convert caffeine into code. Trying to Select * from life; if (FAIL) { keepTrying(); } else{ keepTrying(); }
Updated on June 24, 2022Comments
-
Subodh Joshi almost 2 years
I setup Keycloak server and everything run fine in server machine,But when i tried to integrate Keycloak with local machine(localhost) i am getting
We're sorry ... Client not found.
Even i check my local machine ip address and added in
Keycloak->Clients->Settings->Valid Redirect URIs
even then i am getting same exception. -
Subodh Joshi almost 7 yearsapart from this can you reply one question can we used keyclock with localhost also without ip address?
-
ahus1 almost 7 years@SubodhJoshi - please don't raise questions in comments. Your questions is very short and doesn't provide enough context. Please open a new question or contact me directly.
-
Fulvio about 4 yearsIn the configuration JSON indicated by @ahus1, you can include "resource", to identify the application, like "resource" : "js-application".