From a1de3177da1fc4d78def406182a3796e217fdf1a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 21 Sep 2026 15:20:58 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=A0=84=EC=86=A1=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EB=A9=94=EC=84=B8=EC=A7=80=20=ED=91=9C=EC=8B=9C3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- wrangler.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index d9bcbe5..432622d 100644 --- a/src/index.js +++ b/src/index.js @@ -236,7 +236,7 @@ async function startLogin(request, env) { authorize.searchParams.set('client_id', env.AUTH_CLIENT_ID); authorize.searchParams.set('response_type', 'code'); authorize.searchParams.set('redirect_uri', env.AUTH_REDIRECT_URI); - authorize.searchParams.set('scope', env.AUTH_SCOPE || 'openid profile email phones'); + authorize.searchParams.set('scope', env.AUTH_SCOPE || 'openid profile email'); authorize.searchParams.set('state', state); authorize.searchParams.set('nonce', nonce); authorize.searchParams.set('code_challenge', challenge); diff --git a/wrangler.toml b/wrangler.toml index 05bbb57..10c42db 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -11,7 +11,7 @@ routes = [ [vars] AUTH_REDIRECT_URI = "https://qa-test.baroncs.co.kr/auth/callback" AUTH_POST_LOGOUT_REDIRECT_URI = "https://qa-test.baroncs.co.kr/" -AUTH_SCOPE = "openid tenants profile email phones" +AUTH_SCOPE = "openid tenants profile email" AUTH_CLIENT_ID = "e1270f17-e192-4c8c-84b6-54e9698d0f36" AUTH_AUTHORIZE_URL = "https://app.brsw.kr/oidc/oauth2/auth" AUTH_TOKEN_URL = "https://app.brsw.kr/oidc/oauth2/token"