@@ -22,42 +23,12 @@
{PUBLIC_APP_DESCRIPTION}
-
- You have reached the guest message limit, please Sign In with your Hugging Face account to
- continue.
-
-
+ bind:this={form}
+ />
diff --git a/src/lib/server/auth.ts b/src/lib/server/auth.ts
index 51583293524..f7810bd93c4 100644
--- a/src/lib/server/auth.ts
+++ b/src/lib/server/auth.ts
@@ -119,6 +119,7 @@ export async function getOIDCUserData(settings: OIDCSettings, code: string): Pro
const userData: UserinfoResponse = await client.userinfo(token);
const claims = token.claims();
+ console.log(claims);
userData["name"] = claims.name || (claims.unique_name as string);
userData["email"] = claims.email || (claims.upn as string);
userData["preferred_username"] = claims.name || (claims.unique_name as string);