SAML User is already registered with another login method #2675

Closed
opened 2026-02-05 04:45:55 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @RogerSik on GitHub (Feb 26, 2022).

Describe the Bug

Configurated bookstack after some running time with SAML (with authentik).

Wanted to login and get the message the user is already registrated with another login method (the "normal" login)

26_09-55-11-BookStack und 8 weitere Seiten - Persönlich – Microsoft​ Edge

Steps to Reproduce

  1. Create fresh bookstack instance
  2. Create localy some users
  3. Add SAML integration
  4. Login over SAML

Expected Behaviour

  1. The user should be matched (both have same email address) and login should be possible over SAML

Exact BookStack Version

v21.12.5

PHP Version

No response

Hosting Environment

docker image: linuxserver/bookstack:latest

Originally created by @RogerSik on GitHub (Feb 26, 2022). ### Describe the Bug Configurated bookstack after some running time with SAML (with authentik). Wanted to login and get the message the user is already registrated with another login method (the "normal" login) ![26_09-55-11-BookStack und 8 weitere Seiten - Persönlich – Microsoft​ Edge](https://user-images.githubusercontent.com/165814/155837095-2aaf15e5-e7bc-48d5-b37e-1df0f7a0daaa.png) ### Steps to Reproduce 1. Create fresh bookstack instance 2. Create localy some users 3. Add SAML integration 4. Login over SAML ### Expected Behaviour 1. The user should be matched (both have same email address) and login should be possible over SAML ### Exact BookStack Version v21.12.5 ### PHP Version _No response_ ### Hosting Environment docker image: linuxserver/bookstack:latest
OVERLORD added the 🐛 Bug label 2026-02-05 04:45:55 +03:00
Author
Owner

@RogerSik commented on GitHub (Feb 26, 2022):

Seems to be #2968

@RogerSik commented on GitHub (Feb 26, 2022): Seems to be #2968
Author
Owner

@RogerSik commented on GitHub (Feb 26, 2022):

Ok I needed to populate "external_auth_id" in the database with the username login id from Authentik.

@RogerSik commented on GitHub (Feb 26, 2022): Ok I needed to populate "external_auth_id" in the database with the username login id from Authentik.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2675