/
How to enable SSO with Identity Manager (OAuth2) in any client App?
Features | Open Source | Releases | Docs | Try us free | Blog | Product
How to enable SSO with Identity Manager (OAuth2) in any client App?
How it works?
This authentication is performed via Oauth2 Authorization Code Flow
Maven dependencies
First of all, add the following maven dependencies to your pom.xml
Application.yaml
Then, we need to provide some Oauth properties in the application.yml of our client App:
Note that clientId and clientSecret may change. For example: if you are going to develop a client App that makes use of a Realm from the onesait Platform, clientId will be the identification of the Realm, and clientSecret onesaitplatform, unless configured different from the Realm Management page:
Spring Web configuration
Lastly, you must configure Spring Web Security with below configuration at least:
@EnableOauth2Sso
Allow unauthenticated requests to /login** for the Authorization Flow to work.
, multiple selections available,
Related content
Integración con Identity Manager de Plataforma vía OAuth2/OpenID
Integración con Identity Manager de Plataforma vía OAuth2/OpenID
More like this
How to invoke Platform Management APIs with OAuth2 Tokens?
How to invoke Platform Management APIs with OAuth2 Tokens?
More like this
Actualización de la versión de Keycloak como Identity Manager
Actualización de la versión de Keycloak como Identity Manager
More like this
Implementing SSO with DataFlow
Implementing SSO with DataFlow
More like this
¿Cómo levantar Keycloak como Identity Manager en Entorno local?
¿Cómo levantar Keycloak como Identity Manager en Entorno local?
More like this
Configuración de autenticación keycloak para aplicaciones
Configuración de autenticación keycloak para aplicaciones
More like this