Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/hub/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ After clicking this button your users will be presented with a permissions modal

![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/oauth-accept-application.png)

## Creating an oauth app
You can create your applications in your [settings](https://huggingface.co/settings/applications/new):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your applications => your application


![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/oauth-create-application.png)

### If you are hosting in Spaces

<Tip>
Expand All @@ -26,8 +31,6 @@ The currently supported scopes are:
- `profile`: Get the user's profile information (username, avatar, etc.)
- `email`: Get the user's email address.

Contact us at [website@huggingface.co](mailto:website@huggingface.co) with the desired name, logo URL, scope, and redirect URLs for the OAuth app. We will provide you with the client ID and client secret.

All other information is available in the [OpenID metadata](https://huggingface.co/.well-known/openid-configuration).

<Tip warning={true}>
Expand Down