diff --git a/src/lib/googleAuth.ts b/src/lib/googleAuth.ts index 7158bce..2bba9c8 100644 --- a/src/lib/googleAuth.ts +++ b/src/lib/googleAuth.ts @@ -37,9 +37,11 @@ export async function signInWithGoogle(webClientId: string): Promise { await SocialLogin.initialize({ google }) initializedFor = webClientId } + // scopes 를 넘기면 플러그인이 MainActivity 수정을 요구한다. + // 기본 로그인(Credential Manager)은 email·profile 이 ID 토큰에 포함되므로 scopes 불필요. const res = await SocialLogin.login({ provider: 'google', - options: { scopes: ['email', 'profile'] }, + options: {}, }) const result = res.result as { idToken?: string | null } if (!result?.idToken) {