Vaultwarden
Sign in to the Vaultwarden password manager with Pocket ID.
Replace vaultwarden.example.com and id.example.com with your own server names.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Vaultwardenand add the callback URLhttps://vaultwarden.example.com/identity/connect/oidc-signin. - Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
- On the client’s General tab, turn on PKCE, then click Save.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Vaultwarden
Section titled “Configure Vaultwarden”Set the following variables in your Vaultwarden environment file.
Replace <client-id> and <client-secret> with the Client ID and the Client secret from Pocket ID.
SSO_ENABLED=trueSSO_SIGNUPS_MATCH_EMAIL=trueSSO_ALLOW_UNKNOWN_EMAIL_VERIFICATION=true #Only keep this on true if you are willing to accept the risks: https://github.com/dani-garcia/vaultwarden/wiki/Enabling-SSO-support-using-OpenId-Connect#on-sso_allow_unknown_email_verificationSSO_PKCE=true #Only set this to true if you enabled PKCE (recommended) in Pocket ID otherwise set it to falseSSO_SCOPES=email profile groups offline_accessSSO_CLIENT_ID=<client-id>SSO_CLIENT_SECRET=<client-secret>SSO_AUTHORITY=https://id.example.com #Replace with your pocket-id server.If you store your passkey in Vaultwarden, you need a secondary passkey outside of Vaultwarden (iCloud, browser, etc.) to sign in with SSO. This is recommended anyway in case you ever get locked out of Vaultwarden.