Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Keycloak Clients have a Client Secret?

Tags:

keycloak

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?

like image 439
王子1986 Avatar asked Jun 26 '17 02:06

王子1986


People also ask

What is Keycloak secret?

Keycloak is a single sign on solution for web apps and RESTful web services. The goal of Keycloak is to make security simple so that it is easy for application developers to secure the apps and services they have deployed in their organization.

Where is client ID in Keycloak?

just for the sake of information, if you don't need to call it in code, you can just go in the admin console and click the client you want to see the id and then you will see the id in the address bar as part of URL.

Is client ID a secret?

API Key and Secret KeyThe Client ID is a public identifier of your application. The Client Secret is confidential and should only be used to authenticate your application and make requests to LinkedIn's APIs.


1 Answers

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://wjw465150.gitbooks.io/keycloak-documentation/content/server_admin/topics/clients/oidc/confidential.html

like image 88
Sébastien Blanc Avatar answered Oct 07 '22 15:10

Sébastien Blanc