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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. Cloudron documentation outdated? Bitwarden now supports SSO

Cloudron documentation outdated? Bitwarden now supports SSO

Scheduled Pinned Locked Moved Vaultwarden
22 Posts 8 Posters 2.4k Views 9 Watching
  • 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.
  • I IniBudi

    @andreasdueren said in Cloudron documentation outdated? Bitwarden now supports SSO:

    SSO_AUTHORITY=

    I encountered an issue when attempting to activate SSO using Cloudron OpenID.

    I don't know why SSO_AUTHORITY, I just input my Cloudron URL (my.cloudron.example), but the SSO failed.

    Do you face the same problem?

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote last edited by jdaviescoates
    #12

    @IniBudi I haven't looked at this at all, but as I understand it on Cloudron it's generally not possible to migrate an existing app from "let up manage users" to "LDAP or OIDC". It has to be chosen at install.

    Presumably a fresh new install would work?

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #13

      Hello @inibudi
      Currently, the Cloudron @vaultwarden app does not yet support OIDC/SSO.

      As stated above:

      @girish said in Cloudron documentation outdated? Bitwarden now supports SSO:

      thanks, I have created a task internally for @vladimir.d .

      I C 2 Replies Last reply
      2
      • jamesJ james

        Hello @inibudi
        Currently, the Cloudron @vaultwarden app does not yet support OIDC/SSO.

        As stated above:

        @girish said in Cloudron documentation outdated? Bitwarden now supports SSO:

        thanks, I have created a task internally for @vladimir.d .

        I Offline
        I Offline
        IniBudi
        translator
        wrote last edited by
        #14

        @james thank you James for the information

        1 Reply Last reply
        0
        • C Offline
          C Offline
          charlesnw
          wrote last edited by
          #15

          I am attempting to get a brand new installation of VaultWarden working with Cloudron OIDC SSO.

          I have already very carefully read over:

          https://docs.cloudron.io/user-directory/#openid-connect
          https://github.com/dani-garcia/vaultwarden/wiki/Enabling-SSO-support-using-OpenId-Connect

          to produce the below (redacted) config.json..

          https://my.knownelement.com/openid/.well-known/openid-configuration/
          
          
          https://my.cloudron.example/.well-known/openid-configuration 
          https://my.cloudron.example/openid/.well-known/openid-configuration
          
          
           SSO_AUTHORITY : the OpenID Connect Discovery endpoint of your SSO
          
              Should not include the /.well-known/openid-configuration part and no trailing /
              $SSO_AUTHORITY/.well-known/openid-configuration should return the a json document: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse
          
          
          
          {
            "domain": "https://passwords.knownelement.com",
            "sends_allowed": true,
            "incomplete_2fa_time_limit": 3,
            "disable_icon_download": false,
            "signups_allowed": false,
            "signups_verify": false,
            "signups_verify_resend_time": 3600,
            "signups_verify_resend_limit": 6,
            "invitations_allowed": false,
            "emergency_access_allowed": true,
            "email_change_allowed": false,
            "password_iterations": 600000,
            "password_hints_allowed": false,
            "show_password_hint": false,
            "admin_token": "heavily-redacted :) ",
            "invitation_org_name": "KNEL Password Vault",
            "ip_header": "X-Forwarded-For",
            "icon_redirect_code": 302,
            "icon_cache_ttl": 2592000,
            "icon_cache_negttl": 259200,
            "icon_download_timeout": 10,
            "http_request_block_non_global_ips": true,
            "disable_2fa_remember": false,
            "authenticator_disable_time_drift": false,
            "require_device_email": false,
            "reload_templates": false,
            "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f",
            "admin_session_lifetime": 20,
            "increase_note_size_limit": false,
            "dns_prefer_ipv6": false,
            "sso_enabled": true,
            "sso_only": true,
            "sso_signups_match_email": true,
            "sso_allow_unknown_email_verification": false,
            "sso_client_id": "redacted",
            "sso_client_secret": "redacted",
            "sso_authority": "https://my.knownelement.com",
            "sso_scopes": "openid email profile",
            "sso_pkce": true,
            "sso_callback_path": "https://passwords.knownelement.com/identity/connect/oidc-signin",
            "sso_auth_only_not_session": true,
            "sso_client_cache_expiration": 0,
            "sso_debug_tokens": false,
            "_enable_yubico": true,
            "_enable_duo": true,
            "_enable_smtp": true,
            "use_sendmail": false,
            "smtp_host": "mail",
            "smtp_security": "off",
            "smtp_port": 2525,
            "smtp_from": "passwords.app@knownelement.com",
            "smtp_from_name": "Vaultwarden",
            "smtp_username": "passwords.app@knownelement.com",
            "smtp_password": "redacted",
            "smtp_auth_mechanism": "Plain",
            "smtp_timeout": 15,
            "smtp_embed_images": true,
            "smtp_accept_invalid_certs": true,
            "smtp_accept_invalid_hostnames": true,
            "_enable_email_2fa": false,
            "email_token_size": 6,
            "email_expiration_time": 600,
            "email_attempts_limit": 3,
            "email_2fa_enforce_on_verified_invite": false,
            "email_2fa_auto_fallback": false
          }
          

          I suppose I can increase logging to see if that helps.

          Vaultwarden keeps asking for a master password, even though I've disabled that and set sso only.

          1 Reply Last reply
          0
          • jamesJ james

            Hello @inibudi
            Currently, the Cloudron @vaultwarden app does not yet support OIDC/SSO.

            As stated above:

            @girish said in Cloudron documentation outdated? Bitwarden now supports SSO:

            thanks, I have created a task internally for @vladimir.d .

            C Offline
            C Offline
            charlesnw
            wrote last edited by
            #16

            @james Oh is this something that actually needs to be changed in the app json to make OIDC integration work at all?

            jamesJ 1 Reply Last reply
            1
            • C charlesnw

              @james Oh is this something that actually needs to be changed in the app json to make OIDC integration work at all?

              jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #17

              Hello @charlesnw
              Yes.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                joseph
                Staff
                wrote last edited by
                #18

                @charlesnw there is a task for @vladimir.d to fix the package itself to support SSO. He is still on vacation and should add this when he is back .

                I 1 Reply Last reply
                0
                • J joseph

                  @charlesnw there is a task for @vladimir.d to fix the package itself to support SSO. He is still on vacation and should add this when he is back .

                  I Offline
                  I Offline
                  IniBudi
                  translator
                  wrote last edited by
                  #19

                  @joseph I just tested, and now I can use the SSO login. Thank you @james and @vladimir.d

                  J 1 Reply Last reply
                  2
                  • I IniBudi

                    @joseph I just tested, and now I can use the SSO login. Thank you @james and @vladimir.d

                    J Offline
                    J Offline
                    joseph
                    Staff
                    wrote last edited by
                    #20

                    @IniBudi did you get it working Cloudron OIDC? Please post what you had to do!

                    1 Reply Last reply
                    1
                    • I Offline
                      I Offline
                      IniBudi
                      translator
                      wrote last edited by
                      #21

                      Hi @joseph, I just followed the Vaultwarden instructions to set up Cloudron OIDC.

                      Here is the reference:
                      https://github.com/dani-garcia/vaultwarden/wiki/Enabling-SSO-support-using-OpenId-Connect

                      • Set up SSO on Vaultwarden Admin Dashboard

                      • Create OpenID Clients
                        Add your login callback URL

                      https://vaultwarden.example.tld/identity/connect/oidc-signin
                      
                      • Make sure your email is the same as your user email on Cloudron.

                      Login you can log in using SSO.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        joseph
                        Staff
                        wrote last edited by
                        #22

                        @inibudi the latest vaultwarden package already supports Cloudron OpenID. Thanks for getting back though.

                        1 Reply Last reply
                        2
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search