Updated Keycloak OIDC Integration (markdown)

Karim Gillani 2019-02-01 10:07:20 -08:00
parent 88623e3cf8
commit 26a560fc27

@ -1,6 +1,6 @@
Outstanding Bug: When the user is registered, in the users entry in the mongo database, the following "profile" item is not being created "boardView" with value of "board-view-lists" Creating the entry manually resolves the issue.
Outstanding Bug: When the user is registered, in the users table of the mongo database, the following "profile" item is not being created "boardView" with value of "board-view-lists" Creating the entry manually resolves the issue.
Environment Variables that need to be set in your Wekan container:
Environment Variables that need to be set in your Wekan environment:
* OAUTH2_ENABLE = TRUE
* OAUTH2_CLIENT_ID = `<Keycloak create Client ID>`
@ -11,7 +11,7 @@ Environment Variables that need to be set in your Wekan container:
* OAUTH2_SECRET = `<keycloak client secret>`
> When creating a Client in keycloak, ensure the access type is confidential under the settings tab. After clicking save, you will have a Credentials tab. You can retrieve the secret from that location.
Under the Client area in Keycloak, click on the Mappers area and "create" the following:
Under the Client area in Keycloak, click on the Mappers area and "create" the two following mappers:
1. displayName
* Name: displayName
@ -36,8 +36,6 @@ Under the Client area in Keycloak, click on the Mappers area and "create" the fo
* Add to access token : on
* Add to userinfo : on
Edit the existing username mapper:
Then Edit the existing username mapper and update the following:
* Token Claim Name: uid