1
0
forked from baron/baron-sso

재로그인 시 동의 화면 생략 로직 구현

This commit is contained in:
2026-02-05 10:04:42 +09:00
parent 974bfe7b9a
commit 3627d70ad9
2 changed files with 34 additions and 0 deletions

View File

@@ -49,6 +49,12 @@ class _ConsentScreenState extends State<ConsentScreen> {
try {
final info = await AuthProxyService.getConsentInfo(widget.consentChallenge);
// [Skip Logic] 백엔드에서 자동 승인되어 리다이렉트 URL이 온 경우 즉시 이동
if (info['redirectTo'] != null) {
webWindow.redirectTo(info['redirectTo']);
return;
}
// 백엔드에서 전달받은 커스텀 스코프 정보(scope_details) 적용
if (info['scope_details'] != null) {
final details = info['scope_details'] as Map<String, dynamic>;