mirror of
https://github.com/open-webui/docs
synced 2025-06-15 02:50:42 +00:00
commit
e59943bf86
@ -69,7 +69,11 @@ You can configure the following environment variables to match the roles returne
|
|||||||
1. `OAUTH_ALLOWED_ROLES` - A comma-separated list of roles that are allowed to log in (receive open webui role `user`).
|
1. `OAUTH_ALLOWED_ROLES` - A comma-separated list of roles that are allowed to log in (receive open webui role `user`).
|
||||||
1. `OAUTH_ADMIN_ROLES` - A comma-separated list of roles that are allowed to log in as an admin (receive open webui role `admin`).
|
1. `OAUTH_ADMIN_ROLES` - A comma-separated list of roles that are allowed to log in as an admin (receive open webui role `admin`).
|
||||||
|
|
||||||
:::info If changing the role of a logged in user, they will need to log out and log back in to receive the new role. :::
|
:::info
|
||||||
|
|
||||||
|
If changing the role of a logged in user, they will need to log out and log back in to receive the new role.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
## Trusted Header
|
## Trusted Header
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user