Skip to main content

Integrate with Bitwarden

Support level: Community

What is Bitwarden?

Bitwarden is a freemium, open-source password management service that helps users store, manage, and share sensitive information securely online.

-- https://bitwarden.com/

Preparation

The following placeholders are used in this guide:

  • authentik.company is the FQDN of the authentik installation.
  • bitwarden.company is the FQDN of the Bitwarden installation (if using self-hosted Bitwarden).
info

This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.

Enterprise subscription

To enable Single Sign-On (SSO) with Bitwarden, an enterprise subscription is required.

Configuration methods

You can configure Bitwarden to use either OIDC or SAML; this guide explains both options.

authentik configuration

Redirect URI changes in authentik 2026.5

In authentik versions earlier than 2026.5, all Redirect URIs are automatically treated as Authorization type. If you are using one of these older authentik versions, add only the Authorization URL to your Redirect URIs and do not configure a Post Logout URI.

To support the integration of Bitwarden with authentik, you need to create an application/provider pair in authentik.

Create an application and provider in authentik

  1. Log in to authentik as an administrator and open the authentik Admin interface.

  2. Navigate to Applications > Applications and click New Application to open the application wizard.

    • Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
    • Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
    • Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
      • Note the Client ID, Client Secret, and slug values because they will be required later.
      • Add the redirect URIs for your Bitwarden deployment:
        • For Bitwarden Cloud US:
          • Add a Redirect URI of type Strict Authorization as https://sso.bitwarden.com/oidc-signin.
          • Add a Redirect URI of type Strict Post Logout as https://sso.bitwarden.com/oidc-signedout.
        • For Bitwarden Cloud EU:
          • Add a Redirect URI of type Strict Authorization as https://sso.bitwarden.eu/oidc-signin.
          • Add a Redirect URI of type Strict Post Logout as https://sso.bitwarden.eu/oidc-signedout.
        • For self-hosted Bitwarden:
          • Add a Redirect URI of type Strict Authorization as https://bitwarden.company/sso/oidc-signin.
          • Add a Redirect URI of type Strict Post Logout as https://bitwarden.company/sso/oidc-signedout.
      • Select any available Signing Key.
    • Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
  3. Click Submit to save the new application and provider.

Bitwarden configuration

  1. Log in to the Bitwarden web app as an administrator. For Bitwarden Cloud EU accounts, select bitwarden.eu from the Accessing menu. If you are using self-hosted Bitwarden, log in to https://bitwarden.company/#/login.

  2. Open the Admin Console using the product switcher.

  3. In the sidebar, navigate to Settings > Single sign-on, and enter the following settings:

    • Allow SSO authentication: Select this option.
    • SSO Identifier: enter a globally unique SSO identifier. Members with a matching claimed domain can bypass entering this identifier; domain verification is outside the scope of this guide.
    • Type: select OpenID Connect.
    • Under OpenID connect configuration:
      • Authority: https://authentik.company/application/o/<application_slug>/
      • Client ID: <Client ID from authentik>
      • Client Secret: <Client Secret from authentik>
      • OIDC Redirect Behavior: select Redirect GET.
  4. Click Save.

Configuration verification

To confirm that authentik is properly configured with Bitwarden, log out and open Bitwarden.

Enter the email address of a Bitwarden account and click Use single sign-on. If you haven't claimed the email domain in Bitwarden, enter the unique SSO identifier that you selected, and click Continue. You should be redirected to authentik to log in. After successfully logging in, you should be redirected to the Bitwarden dashboard.

Member decryption options

Depending on your Member decryption options setting in Bitwarden, you may still be required to enter your master password after signing in via SSO.

Resources