Originally created by @pyRammos on GitHub (Jan 26, 2025).
Vaultwarden Support String
When I invite a new user (new or existing) to join an organisation, the email link opens the login page. Upon successful completion of the login, I am again redirected to log in. The second time it is successful but the user has not joined the organisation. I have tried different email addresses and passwords, as well as starting with a new user (create user via invite) or create a user before the invite. The users personal vault works well.
The same thing worked 24hrs ago so I am thinking it may be a change since updating to 1.33.0, which happened last night for me.
Your environment (Generated via diagnostics page)
Vaultwarden version: v1.33.0
Web-vault version: v2025.1.1
OS/Arch: linux/x86_64
Running within a container: true (Base: Debian)
Database type: SQLite
Database version: 3.46.0
Environment settings overridden!: true
Uses a reverse proxy: true
IP Header check: true (X-Real-IP)
Internet access: true
Internet access via a proxy: false
DNS Check: true
Browser/Server Time Check: true
Server/NTP Time Check: true
Domain Configuration Check: true
HTTPS Check: true
Websocket Check: true
HTTP Response Checks: true
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, ADMIN_TOKEN
vaultwarden | [2025-01-26 15:11:35.910][request][INFO] GET /api/organizations/8028aae8-cd1b-4c91-aad2-c67e48bf60d0/keys
vaultwarden | [2025-01-26 15:11:35.911][auth][ERROR] Unauthorized Error: The current user isn't confirmed member of the organization
vaultwarden | [2025-01-26 15:11:35.911][vaultwarden::api::core::organizations::_][WARN] Request guard `OrgMemberHeaders` failed: "The current user isn't confirmed member of the organization".
vaultwarden | [2025-01-26 15:11:35.911][response][INFO] (get_organization_keys) GET /api/organizations/<org_id>/keys => 401 Unauthorized
I assume you have automatic account recovery policy active?
I think it's failing because of the confirmed membership requirement.
@BlackDex should we make an InvitedOrgMemberHeader for get_organization_public_key?
@stefan0xC commented on GitHub (Jan 26, 2025):
Thanks for the report.
```
vaultwarden | [2025-01-26 15:11:35.910][request][INFO] GET /api/organizations/8028aae8-cd1b-4c91-aad2-c67e48bf60d0/keys
vaultwarden | [2025-01-26 15:11:35.911][auth][ERROR] Unauthorized Error: The current user isn't confirmed member of the organization
vaultwarden | [2025-01-26 15:11:35.911][vaultwarden::api::core::organizations::_][WARN] Request guard `OrgMemberHeaders` failed: "The current user isn't confirmed member of the organization".
vaultwarden | [2025-01-26 15:11:35.911][response][INFO] (get_organization_keys) GET /api/organizations/<org_id>/keys => 401 Unauthorized
```
I assume you have automatic account recovery policy active?
I think it's failing because of the confirmed membership requirement.
@BlackDex should we make an InvitedOrgMemberHeader for `get_organization_public_key`?
Same issue here since the update, cannot accept invite.
Disabling the policy have resolved the issue as well.
@Inno-ooshot commented on GitHub (Jan 27, 2025):
Same issue here since the update, cannot accept invite.
Disabling the policy have resolved the issue as well.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @pyRammos on GitHub (Jan 26, 2025).
Vaultwarden Support String
When I invite a new user (new or existing) to join an organisation, the email link opens the login page. Upon successful completion of the login, I am again redirected to log in. The second time it is successful but the user has not joined the organisation. I have tried different email addresses and passwords, as well as starting with a new user (create user via invite) or create a user before the invite. The users personal vault works well.
The same thing worked 24hrs ago so I am thinking it may be a change since updating to 1.33.0, which happened last night for me.
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, ADMIN_TOKEN
Config:
Vaultwarden Build Version
1.33.0
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
nginx
Host/Server Operating System
Linux
Operating System Version
Debian (Open Media Vault 7)
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
Login is successful and user accepts the invite
Actual Result
Login process is repeated, then no option to accept the invite
Logs
Screenshots or Videos
No response
Additional Context
No response
@stefan0xC commented on GitHub (Jan 26, 2025):
Thanks for the report.
I assume you have automatic account recovery policy active?
I think it's failing because of the confirmed membership requirement.
@BlackDex should we make an InvitedOrgMemberHeader for
get_organization_public_key?@BlackDex commented on GitHub (Jan 26, 2025):
Or that check should also also allow invited users, but not revoked ones
@pyRammos commented on GitHub (Jan 27, 2025):
I disabled to policy and it worked. Thank you !
@Inno-ooshot commented on GitHub (Jan 27, 2025):
Same issue here since the update, cannot accept invite.
Disabling the policy have resolved the issue as well.