Spaces:
Running
Running
Commit
·
ae1f22f
1
Parent(s):
20008b8
Update packages/widgets/src/hooks.server.ts
Browse files
packages/widgets/src/hooks.server.ts
CHANGED
@@ -35,7 +35,7 @@ const handleSSO =
|
|
35 |
issuer: "https://huggingface.co",
|
36 |
wellKnown: "https://huggingface.co/.well-known/openid-configuration",
|
37 |
/** Add "inference-api" scope and remove "email" scope */
|
38 |
-
authorization: { params: { scope:
|
39 |
checks: ["state" as never, "pkce" as never],
|
40 |
},
|
41 |
],
|
|
|
35 |
issuer: "https://huggingface.co",
|
36 |
wellKnown: "https://huggingface.co/.well-known/openid-configuration",
|
37 |
/** Add "inference-api" scope and remove "email" scope */
|
38 |
+
authorization: { params: { scope: env.OAUTH_SCOPES } },
|
39 |
checks: ["state" as never, "pkce" as never],
|
40 |
},
|
41 |
],
|