Skip to content

Commit

Permalink
Update spaces-oauth.md (huggingface#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 authored Dec 1, 2023
1 parent 9e429c9 commit 05f1ec9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/hub/spaces-oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ python_version: 3.10.6
app_file: app.py

hf_oauth: true
hf_oauth_redirect_path: /custom_callback_route # optional, see "Redirect URLs" below
hf_oauth_scopes: "read-repos write-repos manage-repos inference-api" # optional, see "Scopes" below. "openid profile" is always included.
# optional, see "Redirect URLs" below
hf_oauth_redirect_path: /custom_callback_route
# optional, see "Scopes" below. "openid profile" is always included.
hf_oauth_scopes:
- read-repos
- write-repos
- manage-repos
- inference-api
```
You can check out the [configuration reference docs](./spaces-config-reference) for more information.
Expand Down

0 comments on commit 05f1ec9

Please sign in to comment.