Spaces:
Sleeping
Sleeping
File size: 1,083 Bytes
0049d09 4374112 0049d09 4374112 0049d09 4374112 0049d09 4374112 0049d09 4374112 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# Change to `true` to enable HF auth integration
enabled: true
providers:
# The OAuth provider setup
# For now, only Hugging Face is supported
- name: huggingface
# This is the client ID of the OAuth app. You can find it in your Hugging Face settings.
# see https://huggingface.co/docs/hub/oauth#creating-an-oauth-app for more info.
# You can also provide it by using the env variable `OAUTH2_HUGGINGFACE_CLIENT_ID`
client_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX
# This is the client secret of the OAuth app. You can find it in your Hugging Face settings.
# See https://huggingface.co/docs/hub/oauth#creating-an-oauth-app for more info.
# We encourage you to provide it by using the env variable `OAUTH2_HUGGINGFACE_CLIENT_SECRET`
client_secret: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX
# The scope of the OAuth app. At least `openid` and `profile` are required.
scope: openid profile
# This section defines the allowed workspaces for the oauth users.
# Workspaces defined here must exist in Argilla.
allowed_workspaces:
- name: admin |