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 | 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
10 Posts 4 Posters 1.2k Views 4 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.
  • M Offline
    M Offline
    marylou
    wrote on last edited by
    #1

    Hello!

    I believe the Cloudron documentation may be outdated:
    674ec1d9-066b-4d0c-9ad9-edc32dcaefd6-image.png

    Bitwarden now supports SSO: https://bitwarden.com/help/about-sso/

    Can we expect SSO to be added to Vaultwarden?

    jdaviescoatesJ 1 Reply Last reply
    0
    • M marylou

      Hello!

      I believe the Cloudron documentation may be outdated:
      674ec1d9-066b-4d0c-9ad9-edc32dcaefd6-image.png

      Bitwarden now supports SSO: https://bitwarden.com/help/about-sso/

      Can we expect SSO to be added to Vaultwarden?

      jdaviescoatesJ Online
      jdaviescoatesJ Online
      jdaviescoates
      wrote on last edited by
      #2

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

      Can we expect SSO to be added to Vaultwarden?

      I wonder if it could too. But I'm guessing perhaps not given SSO on Bitwarden is an enterprise-only feature.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        wrote on last edited by
        #3

        I've been watching this for a while. This has been a longstanding feature request #3899 is the merged one from the seemingly hundreds of requests lol. But it does seem to be close to being finalized and merged.

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          right, as others said, what applies to bitwarden doesn't necessarily apply to Vaultwarden...

          1 Reply Last reply
          1
          • andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            wrote on last edited by
            #5

            https://github.com/dani-garcia/vaultwarden/commit/28b932befce51a5aa0274d08c371b1c13a8ba94d 🎉

            jdaviescoatesJ 1 Reply Last reply
            1
            • andreasduerenA andreasdueren

              https://github.com/dani-garcia/vaultwarden/commit/28b932befce51a5aa0274d08c371b1c13a8ba94d 🎉

              jdaviescoatesJ Online
              jdaviescoatesJ Online
              jdaviescoates
              wrote on last edited by
              #6

              @andreasdueren cool! I'm intrigued as to how exactly this will work in practice... will have to have a play around once we've got it in the Cloudron package...

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • andreasduerenA Offline
                andreasduerenA Offline
                andreasdueren
                wrote on last edited by
                #7

                https://github.com/dani-garcia/vaultwarden/pull/3899#event-19062298364

                Finally merged. Didn’t believe in it anymore lol

                1 Reply Last reply
                2
                • andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote last edited by
                  #8

                  Can we have this preconfigured on install, now that this is supported?

                  #####################################
                  ### SSO settings (OpenID Connect) ###
                  #####################################
                  
                  ## Controls whether users can login using an OpenID Connect identity provider
                  # SSO_ENABLED=false
                  
                  ## Prevent users from logging in directly without going through SSO
                  # SSO_ONLY=false
                  
                  ## On SSO Signup if a user with a matching email already exists make the association
                  # SSO_SIGNUPS_MATCH_EMAIL=true
                  
                  ## Allow unknown email verification status. Allowing this with `SSO_SIGNUPS_MATCH_EMAIL=true` open potential account takeover.
                  # SSO_ALLOW_UNKNOWN_EMAIL_VERIFICATION=false
                  
                  ## Base URL of the OIDC server (auto-discovery is used)
                  ##  - Should not include the `/.well-known/openid-configuration` part and no trailing `/`
                  ##  - ${SSO_AUTHORITY}/.well-known/openid-configuration should return a json document: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse
                  # SSO_AUTHORITY=https://auth.example.com
                  
                  ## Authorization request scopes. Optional SSO scopes, override if email and profile are not enough (`openid` is implicit).
                  # SSO_SCOPES="email profile"
                  
                  ## Additional authorization url parameters (ex: to obtain a `refresh_token` with Google Auth).
                  # SSO_AUTHORIZE_EXTRA_PARAMS="access_type=offline&prompt=consent"
                  
                  ## Activate PKCE for the Auth Code flow.
                  # SSO_PKCE=true
                  
                  ## Regex for additional trusted Id token audience (by default only the client_id is trusted).
                  # SSO_AUDIENCE_TRUSTED='^$'
                  
                  ## Set your Client ID and Client Key
                  # SSO_CLIENT_ID=11111
                  # SSO_CLIENT_SECRET=AAAAAAAAAAAAAAAAAAAAAAAA
                  
                  ## Optional Master password policy (minComplexity=[0-4]), `enforceOnLogin` is not supported at the moment.
                  # SSO_MASTER_PASSWORD_POLICY='{"enforceOnLogin":false,"minComplexity":3,"minLength":12,"requireLower":false,"requireNumbers":false,"requireSpecial":false,"requireUpper":false}'
                  
                  ## Use sso only for authentication not the session lifecycle
                  # SSO_AUTH_ONLY_NOT_SESSION=false
                  
                  ## Client cache for discovery endpoint. Duration in seconds (0 to disable).
                  # SSO_CLIENT_CACHE_EXPIRATION=0
                  
                  ## Log all the tokens, LOG_LEVEL=debug is required
                  # SSO_DEBUG_TOKENS=false
                  
                  1 Reply Last reply
                  2
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote last edited by girish
                    #9

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

                    edit: er, @andreasdueren looks like this is not released yet right ? https://github.com/dani-garcia/vaultwarden/releases has no releases saying so.

                    andreasduerenA 1 Reply Last reply
                    1
                    • girishG girish

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

                      edit: er, @andreasdueren looks like this is not released yet right ? https://github.com/dani-garcia/vaultwarden/releases has no releases saying so.

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote last edited by
                      #10

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

                      looks like this is not released yet right

                      I guess you're right, merge happened after the last release.

                      1 Reply Last reply
                      1
                      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