diff --git a/apps/api/src/routes/auth.ts b/apps/api/src/routes/auth.ts index 1bee0e91..e3d06c6f 100644 --- a/apps/api/src/routes/auth.ts +++ b/apps/api/src/routes/auth.ts @@ -1,3 +1,4 @@ +import * as Sentry from "@sentry/node"; import { DEFAULT_TDK_CHAIN_ID, type UserContext, @@ -197,6 +198,11 @@ export const authRoutes = thirdwebUser = thirdwebUserDetails; } + Sentry.setUser({ + id: userId, + username: address, + }); + const { emailAddresses, externalWalletAddresses } = parseThirdwebUserLinkedAccounts(thirdwebUser); const [user, profile, legacyProfiles] = await Promise.all([