Update oidc-auth.md
This commit is contained in:
parent 3ef42f26f5
commit 3b28f7ccf2
1 changed files with 8 additions and 0 deletions
| @ -82,6 +82,14 @@ by an admin, by changing the "External Authentication ID" field on the user's pr | |||
Should your OIDC provider require a callback URL, the following can be used: `https://example.com/oidc/callback`. | ||||
Change `https://example.com` to be the base URL of your BookStack instance. | ||||
| ||||
### Managing existing users | ||||
When switching authentication method from `AUTH_METHOD=standard` to `AUTH_METHOD=oidc`, Bookstack cannot make a match with existing users, because the External Authentication ID of the existing user is unknown. Because of this missing ID, the system will think it needs to create a new user with 'guest' rights, but will fail because the e-mail address of the user already exists. | ||||
| ||||
One can overcome this situation by logging into Bookstack with admin rights and standard authentication. While logged in, change the authentication method to `oidc` in the `.env` file. This'hot' switch will make an entry field available where you can enter the External Authentication ID of your OIDC provider. | ||||
| ||||
 | ||||
| ||||
| ||||
### Debugging | ||||
| ||||
To help when setting up or configuring BookStack to use your OIDC system, the below | ||||
| |
Loading…
Add table
Add a link
Reference in a new issue