Keycloak : Client not found exception?

允我心安 提交于 2019-12-10 17:26:59

问题


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.


回答1:


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


来源:https://stackoverflow.com/questions/43953244/keycloak-client-not-found-exception

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!