Keycloak
Waldur supports integration with Keycloak identity manager.
Below is a guide to configure Keycloak OpenID Connect client and Waldur intergration.
Configuring Keycloak
Instructions below are aimed to provide a basic configuration of Keycloak, please refer to Keycloak documentation for full details.
- Login to admin interface of Keycloak.
- Create a new realm (or use existing)
- Open a menu with a list of clients.
- Add a new client for Waldur by clicking on
Create client
button. - Make sure that
Client authentication
is enabled. - Change client's Valid redirect URIs to "*".
- Copy secret code from
Credentials
tab. - You can find the settings required for configuration of Waldur under the following path on your Keycloak deployment (change
test-waldur
to the realm that you are using):/realms/test-waldur/.well-known/openid-configuration
Configuring Waldur
-
Make sure
SOCIAL_SIGNUP
is added to the list of available authentication methods:1
WALDUR_CORE['AUTHENTICATION_METHODS'] = ["LOCAL_SIGNIN", "SOCIAL_SIGNUP"]
3. Open Keycloak identity provider details by clicking on Edit
menu of Keycloak dropdown menu
4. Copy Client ID
, Client secret
and Discovery URL
. For extra security, enable SSL, PKCE and post-logout redirect.