ongudidan commited on
Commit
ec67eb6
·
verified ·
1 Parent(s): dbb9a37

Update app/actions/auth.ts

Browse files
Files changed (1) hide show
  1. 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
- // 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
- 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
  }