forked from phoenix/litellm-mirror
docs(ui.md): add restrict email subdomains w/ sso
This commit is contained in:
parent
bc8857ca23
commit
a0bb89a372
1 changed files with 10 additions and 0 deletions
|
@ -186,6 +186,16 @@ PROXY_BASE_URL=https://litellm-api.up.railway.app/
|
|||
#### Step 4. Test flow
|
||||
<Image img={require('../../img/litellm_ui_3.gif')} />
|
||||
|
||||
### Restrict Email Subdomains w/ SSO
|
||||
|
||||
If you're using SSO and want to only allow users with a specific subdomain - e.g. (@berri.ai email accounts) to access the UI, do this:
|
||||
|
||||
```bash
|
||||
export ALLOWED_EMAIL_DOMAINS="berri.ai"
|
||||
```
|
||||
|
||||
This will check if the user email we receive from SSO contains this domain, before allowing access.
|
||||
|
||||
### Set Admin view w/ SSO
|
||||
|
||||
You just need to set Proxy Admin ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue