Keycloak : Client not found exception?

13,672

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": "...",
  ...
}
Share:
13,672

Related videos on Youtube

Subodh Joshi
Author by

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, 2022

Comments

  • Subodh Joshi
    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.

    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.

  • Subodh Joshi
    Subodh Joshi almost 7 years
    apart from this can you reply one question can we used keyclock with localhost also without ip address?
  • ahus1
    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
    Fulvio about 4 years
    In the configuration JSON indicated by @ahus1, you can include "resource", to identify the application, like "resource" : "js-application".

Related