diff --git a/packages/features/auth/lib/next-auth-options.ts b/packages/features/auth/lib/next-auth-options.ts index 0cf2530174..dc361df740 100644 --- a/packages/features/auth/lib/next-auth-options.ts +++ b/packages/features/auth/lib/next-auth-options.ts @@ -788,6 +788,7 @@ export const AUTH_OPTIONS: AuthOptions = { username: orgId ? slugify(orgUsername) : usernameSlug(user.name), emailVerified: new Date(Date.now()), name: user.name, + ...(user.image && { avatarUrl: user.image }), email: user.email, identityProvider: idP, identityProviderId: account.providerAccountId,