From 08a88f9198b201a49240ec4dc6ce65d75bc9a8c5 Mon Sep 17 00:00:00 2001 From: ByungCheol Date: Sun, 12 Jul 2026 12:38:26 +0900 Subject: [PATCH] =?UTF-8?q?fix(login):=20=EB=84=A4=EC=9D=B4=ED=8B=B0?= =?UTF-8?q?=EB=B8=8C=20=EA=B5=AC=EA=B8=80=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?scopes=20=EC=A0=9C=EA=B1=B0=20(MainActivity=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EC=9A=94=EA=B5=AC=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EC=86=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- src/lib/googleAuth.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {