diff --git a/packages/better-auth/src/social-providers/google.ts b/packages/better-auth/src/social-providers/google.ts index 7006b5a24b..7945d48ccf 100644 --- a/packages/better-auth/src/social-providers/google.ts +++ b/packages/better-auth/src/social-providers/google.ts @@ -105,7 +105,8 @@ export const google = (options: GoogleOptions) => { } const isValid = tokenInfo.aud === options.clientId && - tokenInfo.iss === "https://accounts.google.com"; + (tokenInfo.iss === "https://accounts.google.com" || + tokenInfo.iss === "accounts.google.com"); return isValid; }, async getUserInfo(token) {