Add orgUserHasExistingUser parameters to org invite #1010

Closed
opened 2026-04-06 01:32:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Timshel on 8/8/2024

With the new web-vault web-v2024.6.2 the organization invitation logic was rewritten (had a look since organization invitation is now working even with sso 🎉).

Discovered that there were additional parameters that were not used such as orgUserHasExistingUser which allows to control if the user is redirected to the create account or login page (Cf web-v2024.6.2/accept-organization.component.ts, but this already existed before).

The additional orgSsoIdentifier parameter could then be added to the SSO PR.

*Originally created by @Timshel on 8/8/2024* With the new web-vault `web-v2024.6.2` the organization invitation logic was rewritten (had a look since organization invitation is now working even with sso :tada:). Discovered that there were additional parameters that were not used such as `orgUserHasExistingUser` which allows to control if the user is redirected to the create account or login page (Cf [web-v2024.6.2/accept-organization.component.ts](https://github.com/bitwarden/clients/blob/web-v2024.6.2/apps/web/src/app/auth/organization-invite/accept-organization.component.ts#L69), but this already existed before). The additional `orgSsoIdentifier` parameter could then be added to the SSO PR.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1010