问题
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