Confirmation email is not send when signing in from Google Workspace with Oauth2 #5447

Open
opened 2026-02-05 10:04:27 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @francois-pelletier-greybox on GitHub (Oct 5, 2025).

Describe the Bug

When signing in as a new user in Bookstack through a Google Account, the account is created, but the confirmation email is never sent. I have checked the configuration and it's fine. There's no error in the Laravel logs and my SMTP provider PostMark shows no attempt to use their service from the app.

Id I disable domain validation and email confirmation, the user account is successfully created. But as this is for a private instance, I need domain validation.

Steps to Reproduce

I installed Bookstack through Yunohost. This is a fresh install, using default directories and I configured values in my .env as explained in the documentation. In short, I did everything as expected. When clicking the button to send the email again, I have the green message saying the confirmation email have successfully been resent.

Expected Behaviour

I expect to receive a confirmation email when signing in with my Google Workspace account

Screenshots or Additional Context

Here is the workflow which should send me a confirmation email.

Image Image Image Image

Browser Details

Brave Browser - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

Exact BookStack Version

v25.07.2

Originally created by @francois-pelletier-greybox on GitHub (Oct 5, 2025). ### Describe the Bug When signing in as a new user in Bookstack through a Google Account, the account is created, but the confirmation email is never sent. I have checked the configuration and it's fine. There's no error in the Laravel logs and my SMTP provider PostMark shows no attempt to use their service from the app. Id I disable domain validation and email confirmation, the user account is successfully created. But as this is for a private instance, I need domain validation. ### Steps to Reproduce I installed Bookstack through Yunohost. This is a fresh install, using default directories and I configured values in my .env as explained in the documentation. In short, I did everything as expected. When clicking the button to send the email again, I have the green message saying the confirmation email have successfully been resent. ### Expected Behaviour I expect to receive a confirmation email when signing in with my Google Workspace account ### Screenshots or Additional Context Here is the workflow which should send me a confirmation email. <img width="457" height="439" alt="Image" src="https://github.com/user-attachments/assets/f00938a0-55ad-4b6b-887f-d1363536e7bd" /> <img width="1043" height="589" alt="Image" src="https://github.com/user-attachments/assets/f9c4aaa6-0ba7-482d-91ca-21ee3b64ef57" /> <img width="473" height="391" alt="Image" src="https://github.com/user-attachments/assets/63465ec6-2c65-49fe-a2b6-b6239dd695a9" /> <img width="397" height="157" alt="Image" src="https://github.com/user-attachments/assets/24c8d640-912d-44a7-bcd0-46b92476b32d" /> ### Browser Details Brave Browser - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 ### Exact BookStack Version v25.07.2
OVERLORD added the 🐛 Bug label 2026-02-05 10:04:27 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 5, 2025):

Hi @francois-pelletier-greybox,

  • Does the email test-send action in the "Settings > Maintenance" area of BookStack show success without error?
  • Does a QUEUE_CONNECTION option exist in your .env? If so, what is the value?
@ssddanbrown commented on GitHub (Oct 5, 2025): Hi @francois-pelletier-greybox, - Does the email test-send action in the "Settings > Maintenance" area of BookStack show success without error? - Does a `QUEUE_CONNECTION` option exist in your `.env`? If so, what is the value?
Author
Owner

@francois-pelletier-greybox commented on GitHub (Oct 6, 2025):

The test-send in Settings > Maintenance also show success, but nothing is sent.

In my .env

QUEUE_CONNECTION=database

@francois-pelletier-greybox commented on GitHub (Oct 6, 2025): The test-send in Settings > Maintenance also show success, but nothing is sent. In my .env `QUEUE_CONNECTION=database`
Author
Owner

@ssddanbrown commented on GitHub (Oct 6, 2025):

@francois-pelletier-greybox Did you set up a queue work process as per the docs for QUEUE_CONNECTION=database? And if so is it running?

If not, then the emails are just being queued but never processed.

Otherwise, try commenting out/removing the QUEUE_CONNECTION and see if it works without a queue being used.

@ssddanbrown commented on GitHub (Oct 6, 2025): @francois-pelletier-greybox Did you set up a [queue work process](https://www.bookstackapp.com/docs/admin/email-webhooks/#queue-worker-process) as per the docs for `QUEUE_CONNECTION=database`? And if so is it running? If not, then the emails are just being queued but never processed. Otherwise, try commenting out/removing the `QUEUE_CONNECTION` and see if it works without a queue being used.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5447