OIDC - Users table - Name contains the External_auth_id #4068

Closed
opened 2026-02-05 08:06:26 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @BartNSTCL on GitHub (Aug 31, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

After setting up in the cloud with ODIC and fixing the existing users' external_auth_id, we started allowing new users to login. I noticed the name in the users table contained the value of the external_auth_id. Checking the .env, I didn't see an ODIC variable to set that field. When OIDC_DUMP_USER_DETAILS was set to Debug, the User's data is attached. I poked around in OidcService.php but I didn't see anything that stuck out. I probably have something set wrong or missing.

Exact BookStack Version

v23.08

Log Content

No response

PHP Version

8.1.2

Hosting Environment

Ubuntu 22.04.3 LTS

Originally created by @BartNSTCL on GitHub (Aug 31, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario After setting up in the cloud with ODIC and fixing the existing users' external_auth_id, we started allowing new users to login. I noticed the name in the users table contained the value of the external_auth_id. Checking the .env, I didn't see an ODIC variable to set that field. When OIDC_DUMP_USER_DETAILS was set to Debug, the User's data is attached. I poked around in OidcService.php but I didn't see anything that stuck out. I probably have something set wrong or missing. ### Exact BookStack Version v23.08 ### Log Content _No response_ ### PHP Version 8.1.2 ### Hosting Environment Ubuntu 22.04.3 LTS
OVERLORD added the 🐕 Support label 2026-02-05 08:06:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4068