Wekan OAuth2 / OpenID Connect settings
-
Wekan supports OAuth2 / OpenID Connect (see https://github.com/wekan/wekan/wiki/OAuth2). Is there a way to expose the necessary configuration settings to the user (eg. in /app/data instead of start.sh)?
-
Currently the Wekan app is only packaged to use the Cloudron usermanagement. To enable OpenIDConnect or OAuth, we first have to rework the package.
-
Thanks for the info, @nebulon!
Would something along the lines like this work in start.sh?sed -i -n '/^declare -x \"oauth-/!p' /app/data/oauth-settings > /app/data/set-oauth.sh sh /app/data/set-oauth.sh
(Not sure about the syntax, haven’t tested this and I am no expert in bash scripting, so this is just an idea...)
-
I haven't tried anything OAuth related with Wekan, so I don't really know. Generally once we publish a package without cloudron user management, we will just take whatever Wekan is providing for settings, hopefully a GUI then.
-
@nebulon I'd also like to use OpenID with Wekan.
Would you be willing to look at this again?
-
@Sam_uk For a start, I have added optional ldap support in the package now. Maybe you can try configuring it with OpenID using env vars (https://docs.cloudron.io/apps/wekan/#customization)
-
@girish Thanks, will give it a go