Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak : Client not found exception?

Tags:

keycloak

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.

enter image description here

Even i check my local machine ip address and added in Keycloak->Clients->Settings->Valid Redirect URIs even then i am getting same exception.

like image 347
Subodh Joshi Avatar asked May 13 '17 12:05

Subodh Joshi


Video Answer


1 Answers

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": "...",
  ...
}
like image 119
ahus1 Avatar answered Oct 13 '22 12:10

ahus1