Spaces:
Paused
Paused
|
Download docs/source/configuration/open-id.md from maksym-work/chat_ui: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/open-id.md
- Command line
-
hf download hf://spaces/maksym-work/chat_ui/docs/source/configuration/open-id.md
-
curl -L -o open-id.md https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/open-id.md
487 Bytes
| # OpenID | |
| The login feature is disabled by default and users are attributed a unique ID based on their browser. But if you want to use OpenID to authenticate your users, you can add the following to your `.env.local` file: | |
| ```ini | |
| OPENID_CONFIG=`{ | |
| PROVIDER_URL: "<your OIDC issuer>", | |
| CLIENT_ID: "<your OIDC client ID>", | |
| CLIENT_SECRET: "<your OIDC client secret>", | |
| SCOPES: "openid profile", | |
| TOLERANCE: // optional | |
| RESOURCE: // optional | |
| }` | |
| ``` | |
| Redirect URI: `/login/callback` | |