From 50c2d44c5d864ece38504f634b97da9a72caaeee Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Tue, 21 Nov 2023 10:23:22 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=93=9D=20Document=20oauth=20app=20cre?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/hub/oauth.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/hub/oauth.md b/docs/hub/oauth.md index 0193ef5bd..1391a66fc 100644 --- a/docs/hub/oauth.md +++ b/docs/hub/oauth.md @@ -10,6 +10,13 @@ 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 at in your [settings](https://huggingface.co/settings/applications/new): + +![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/oauth-create-application.png) + ### If you are hosting in Spaces @@ -26,8 +33,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). From 3cdc189c0fc021f7fcf4f2a475c19bb66b9e479f Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Tue, 21 Nov 2023 10:52:11 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=E2=9C=8F=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/hub/oauth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hub/oauth.md b/docs/hub/oauth.md index 1391a66fc..d497fee19 100644 --- a/docs/hub/oauth.md +++ b/docs/hub/oauth.md @@ -13,7 +13,7 @@ After clicking this button your users will be presented with a permissions modal ## Creating an oauth app -You can create your applications at in your [settings](https://huggingface.co/settings/applications/new): +You can create your applications in your [settings](https://huggingface.co/settings/applications/new): ![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/oauth-create-application.png) From 968b90a84ff2ca94df6602bafd5596f99d4caa27 Mon Sep 17 00:00:00 2001 From: Eliott C Date: Tue, 21 Nov 2023 15:47:05 +0100 Subject: [PATCH 3/3] Update docs/hub/oauth.md Co-authored-by: Omar Sanseviero --- docs/hub/oauth.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/hub/oauth.md b/docs/hub/oauth.md index d497fee19..34e71f7ca 100644 --- a/docs/hub/oauth.md +++ b/docs/hub/oauth.md @@ -11,8 +11,6 @@ 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): ![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/oauth-create-application.png)