mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-01 20:06:41 -05:00
fix: update scope on oauth re-login
This commit is contained in:
@@ -85,6 +85,7 @@ export async function handleOAuthUserInfo(
|
||||
refreshToken: account.refreshToken,
|
||||
accessTokenExpiresAt: account.accessTokenExpiresAt,
|
||||
refreshTokenExpiresAt: account.refreshTokenExpiresAt,
|
||||
scope: account.scope,
|
||||
}).filter(([_, value]) => value !== undefined),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user