Feature: Auto-provision new users on first SSO login (no manual admin invite required) #7221
David-Bratkov
started this conversation in
Ideas
Replies: 2 comments
|
Can you share your Support String? Because I don't have that problem on my test instance. |
0 replies
|
It looks more like a feature request to me though. Ill move it to Ideas |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
New users who successfully authenticate via SSO (Keycloak OIDC) for the first time are silently rejected and kicked back to the Vaultwarden login screen with no explanation. There is no self-service onboarding path — an admin must manually invite each user from the admin panel before SSO will work for them.
Current Behavior
/admin→ Users → Invite for each new user before they can log inExpected Behavior
When a user authenticates via SSO for the first time and no Vaultwarden account exists for their email:
Option A (preferred): Automatically send an invite email to the user's address (as returned by the IdP token) and show a page: "An invitation has been sent to your email. Click the link to finish setting up your vault."
Option B: Auto-create the account immediately and prompt the user to set their vault master password in-browser before proceeding.
Either option eliminates the need for per-user manual admin action when onboarding an organization via SSO.
Why This Matters
SSO is designed for organizational onboarding — the IdP is already the authority on who is allowed in. Requiring an admin to manually invite every user before SSO works defeats the main benefit of SSO for teams. Any user who passes IdP authentication should be considered trusted and eligible for auto-provisioning.
Environment
SSO_ONLY=true,SSO_ALLOW_UNKNOWN_EMAIL_VERIFICATION=true, PKCE enabledAll reactions