동의 화면 표시하여 refresh_token 발급 보장

feature-BGM
김성경 2026-05-13 16:11:57 +09:00
parent ec3e0159e8
commit 666115ae88
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class YouTubeOAuthClient(BaseOAuthClient):
"response_type": "code",
"scope": " ".join(YOUTUBE_SCOPES),
"access_type": "offline", # refresh_token 받기 위해 필요
"prompt": "select_account", # 계정 선택만 표시 (동의 화면은 최초 1회만)
"prompt": "consent", # 항상 동의 화면 표시하여 refresh_token 발급 보장
"state": state,
}
url = f"{self.AUTHORIZATION_URL}?{urlencode(params)}"