Automatic email confirmation for OIDC #5206

Closed
opened 2026-02-05 09:48:18 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @miko007 on GitHub (Mar 4, 2025).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

From a page within the documentation, i gathered this hint: {SERVICE}_AUTO_CONFIRM_EMAIL=true, which lead me to believe, that OIDC_AUTO_CONFIRM_EMAIL=true should also work.

Setting this in my .env file however, has no effect. BookStack still complains about a non-verified email address for the new user.

Am i missing something, or is this actually not implemented?

I do not really want users to be bothered clicking a link in an email when they log in the first time, as i already know that the email is correct. If this would work, i could skip setting up SMTP alltogether, i think.

Exact BookStack Version

v25.02

Log Content

No response

Hosting Environment

I run BookStack dockerized.

Originally created by @miko007 on GitHub (Mar 4, 2025). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario From a page within the documentation, i gathered this hint: `{SERVICE}_AUTO_CONFIRM_EMAIL=true`, which lead me to believe, that `OIDC_AUTO_CONFIRM_EMAIL=true` should also work. Setting this in my `.env` file however, has no effect. BookStack still complains about a non-verified email address for the new user. Am i missing something, or is this actually not implemented? I do not really want users to be bothered clicking a link in an email when they log in the first time, as i already know that the email is correct. If this would work, i could skip setting up *SMTP* alltogether, i think. ### Exact BookStack Version v25.02 ### Log Content _No response_ ### Hosting Environment I run BookStack dockerized.
OVERLORD added the 🐕 Support label 2026-02-05 09:48:18 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 4, 2025):

Hi @miko007,

Do you need email confirmation/domain restrictions active if you're using OIDC?
Email confirmation is only needed if using those registration options.

@ssddanbrown commented on GitHub (Mar 4, 2025): Hi @miko007, Do you need email confirmation/domain restrictions active if you're using OIDC? Email confirmation is only needed if using those registration options.
Author
Owner

@miko007 commented on GitHub (Mar 6, 2025):

oh, hey, thank you very much, that hint actually solved all problems at once. this did not even come to mind.

it somehow did not occur to me, that settings in the gui would have an effect on something i configured in the environment variables. there also is this hint in the settings, that the "enable registration" option is ignored, when using something like ldap, i extrapolated that to all the options, i guess.

but that most likely is just me being totally ignorant. maybe we should put something into the docs nevertheless?

@miko007 commented on GitHub (Mar 6, 2025): oh, hey, thank you very much, that hint actually solved all problems at once. this did not even come to mind. it somehow did not occur to me, that settings in the gui would have an effect on something i configured in the environment variables. there also is this hint in the settings, that the *"enable registration"* option is ignored, when using something like ldap, i extrapolated that to all the options, i guess. but that most likely is just me being totally ignorant. maybe we should put something into the docs nevertheless?
Author
Owner

@ssddanbrown commented on GitHub (Sep 3, 2025):

Agreed, I've opened an issue on our docs repo to document & clarify the use of registration settings for other auth options:

https://codeberg.org/bookstack/website/issues/223

@ssddanbrown commented on GitHub (Sep 3, 2025): Agreed, I've opened an issue on our docs repo to document & clarify the use of registration settings for other auth options: https://codeberg.org/bookstack/website/issues/223
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5206