Spaces:
Running
Running
Update app/actions/auth.ts
Browse files- app/actions/auth.ts +1 -2
app/actions/auth.ts
CHANGED
|
@@ -13,8 +13,7 @@ export async function getAuth() {
|
|
| 13 |
url +
|
| 14 |
"/auth/callback";
|
| 15 |
|
| 16 |
-
|
| 17 |
-
const loginRedirectUrl = `https://api-inference.huggingface.co/oauth/authorize?client_id=${process.env.OAUTH_CLIENT_ID}&redirect_uri=${redirect_uri}&response_type=code&scope=openid%20profile%20write-repos%20manage-repos%20inference-api&prompt=consent&state=1234567890`;
|
| 18 |
|
| 19 |
return loginRedirectUrl;
|
| 20 |
}
|
|
|
|
| 13 |
url +
|
| 14 |
"/auth/callback";
|
| 15 |
|
| 16 |
+
const loginRedirectUrl = `https://huggingface.co/oauth/authorize?client_id=${process.env.OAUTH_CLIENT_ID}&redirect_uri=${redirect_uri}&response_type=code&scope=openid%20profile%20write-repos%20manage-repos%20inference-api&prompt=consent&state=1234567890`;
|
|
|
|
| 17 |
|
| 18 |
return loginRedirectUrl;
|
| 19 |
}
|