Do Keycloak Clients have a Client Secret?

王子1986 picture 王子1986 · Jun 26, 2017 · Viewed 29.8k times · Source

Does keycloak client id has a client secret? I tried to create a client in keycloak admin but I was not able to spot client secret.

Is it auto generated? Where can I get the secret?

Answer

Sébastien Blanc picture Sébastien Blanc · Jun 26, 2017

Your client need to have the access-type set to confidential , then you will have a new tab credentials where you will see the client secret. https://keycloak.gitbooks.io/documentation/content/server_admin/topics/clients/oidc/confidential.html