User unable to register under allowed domain. / That email domain does not have access to this application #1083

Closed
opened 2026-02-04 23:42:00 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @nekromoff on GitHub (Mar 11, 2019).

Describe the bug
User unable to register under allowed domain.
[2019-03-11 10:01:18] production.ERROR: That email domain does not have access to this application {"exception":"[object] (BookStack\Exceptions\UserRegistrationException(code: 0): That email domain does not have access to this application at /var/www/html/wiki/app/Http/Controllers/Auth/RegisterController.php:147)
[stacktrace]

Steps To Reproduce
Steps to reproduce the behavior:

  1. Register
  2. Social (with Google)
  3. Login with allowed domain account
  4. Redirected back with error

Expected behavior
Successful registration (as it worked before)

Screenshots
n/a

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.24.3
  • PHP Version: 7.3
  • Hosting Method (Nginx/Apache/Docker): apache
Originally created by @nekromoff on GitHub (Mar 11, 2019). **Describe the bug** User unable to register under allowed domain. [2019-03-11 10:01:18] production.ERROR: That email domain does not have access to this application {"exception":"[object] (BookStack\\Exceptions\\UserRegistrationException(code: 0): That email domain does not have access to this application at /var/www/html/wiki/app/Http/Controllers/Auth/RegisterController.php:147) [stacktrace] **Steps To Reproduce** Steps to reproduce the behavior: 1. Register 2. Social (with Google) 3. Login with allowed domain account 4. Redirected back with error **Expected behavior** Successful registration (as it worked before) **Screenshots** n/a **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.24.3 - PHP Version: 7.3 - Hosting Method (Nginx/Apache/Docker): apache
Author
Owner

@nekromoff commented on GitHub (Mar 11, 2019):

Used to work fine until recently (I see January as the last month when somebody registered under same domain)

@nekromoff commented on GitHub (Mar 11, 2019): Used to work fine until recently (I see January as the last month when somebody registered under same domain)
Author
Owner

@nekromoff commented on GitHub (Mar 11, 2019):

Alright, after updating to
BookStack v0.25.2
registration works.

Maybe this should be mentioned in the changelog.

@nekromoff commented on GitHub (Mar 11, 2019): Alright, after updating to BookStack v0.25.2 registration works. Maybe this should be mentioned in the changelog.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1083