mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #1058] Email invite system not working? #750
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#750
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SMAW on GitHub (Jul 16, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1058
I have some issues with setting up my bitwarden_rs server.
I've setup the invitation system and SMTP settings. SMTP settings look fine and the email arrives at my mailbox.

All the links i'm getting (invite or confirm email) arent working.
The link seems correct with the correct base URL.
example URL : https://DOMAIN/#/accept-organization/?organizationId=&organizationUserId=&email=USER%40DOMAIN%2Enl&organizationName=Bitwarden_RS&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJuYmYiOjE1OTQ5MjQ5ODcsImV4cCI6MTU5NTM1Njk4NywiaXNzIjoiaHR0cHM6Ly9idy5zbWF3Lm5sfGludml0ZSIsInN1YiI6ImI3OWFmYzlmLWMxYTQtNDRkOC05ZDA1LTRlY2Q4MGMxNDVlYyIsImVtYWlsIjoib3JyaW5Ac21hdy5ubCIsIm9yZ19pZCI6bnVsbCwidXNlcl9vcmdfaWQiOm51bGwsImludml0ZWRfYnlfZW1haWwiOm51bGx9.NcTwC70ONLBqxZaguqX0Qelg2xTioCablLlxha-1KoeNrfVx6GvQCW9DzaZ7RQ9As5hbzeUW9f73lIZUAF9zygkySpNJi9FiqztTyOdjr-9cvIfXkJ-jZHQaX89IklOvUYt2k2AGQPP0HKqhaPzhgte28Sxc0QJNUj1ozlerJDo6hUO9f5UulA_9_pszOY91wWdo6z3_olff4MZgQS9JXS-PpPV_Gqws7lkVwEc-VkosaIyliERHXzVQpLLbWt9Jfd59njuMLXNg3s7yUUR-f-nlNMmxdwpXTlAp-KwxN16qzA43L107q07vwr4N0TdutY5pfEukFO0X
(I also removed the last 10 characters to be sure :)
I've set the following env variables:
- ADMIN_TOKEN=TOKEN
- DOMAIN=https://DOMAIN
- SIGNUPS_ALLOWED=true
- INVITATIONS_ALLOWED=true
- WEBSOCKET_ENABLED=true
- LOG_FILE=/data/bitwarden.log
- LOG_LEVEL=trace
- EXTENDED_LOGGING=true
I'm running the installation behind a traefik 2.2.0 config:
Also when I open a port directly to the docker container (so without using the Traefik) the links still aren't working.
Is there someone who can help me with the setup of the invite system?
I've tried the latest version of bitwarden_rs and the 1.14.2 version
@SMAW commented on GitHub (Jul 16, 2020):
Found the issue... When I open the mail with Outlook desktop client it works. When I open the link trough webmail (gmail or other webmail) the link is a bit different. Its around the token part.
Webmail :
3&token=eClient :
3&token=eIf I copy the link from webmail, remove the & the link works.
I think this is a bug.
@BlackDex commented on GitHub (Oct 30, 2020):
This issue should also be solved with the latest fixes regarding email sending.
Thx for reporting.