Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Wekan OAuth2 / OpenID Connect settings

    Wekan
    wekan oauth
    4
    7
    452
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NCKNE last edited by girish

      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)?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Currently the Wekan app is only packaged to use the Cloudron usermanagement. To enable OpenIDConnect or OAuth, we first have to rework the package.

        N 1 Reply Last reply Reply Quote 1
        • N
          NCKNE @nebulon last edited by

          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...)

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            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.

            Sam_uk 1 Reply Last reply Reply Quote 0
            • Sam_uk
              Sam_uk @nebulon last edited by

              @nebulon I'd also like to use OpenID with Wekan.

              Would you be willing to look at this again?

              https://github.com/wekan/wekan/wiki/OAuth2

              girish 1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @Sam_uk last edited by

                @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)

                Sam_uk 1 Reply Last reply Reply Quote 3
                • Sam_uk
                  Sam_uk @girish last edited by

                  @girish Thanks, will give it a go

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB