kanboard / plugin-oauth2

Generic OAuth2 authentication plugin
MIT License
27 stars 33 forks source link

oauth2 - keycloak? #9

Closed davidgut1982 closed 6 years ago

davidgut1982 commented 6 years ago

I've been trying to configure Kanboard's OAuth2 with Keycloak, but there is not much documentation on it, and I getting an error. It is not working. Here is the log file for debugging, but I do not know what to do with the error. Here are my settings from the Integrations page. screenshot - 08052018 - 03 18 26 pm What am I doing wrong? Thanks in advance.

davidgut1982 commented 6 years ago

Figured it out finally. Username Key: "preferred_username" Name Key: "given_name" Email Key: "email" User ID Key: "sub" Make sure your Kanboard Callback URL is in Valid Redirect URIs Make sure you have the proper mappers for your Keycloak Client Mapper. I had email username full name given name

If groups ever come around, follow the guide here