1
0
forked from baron/baron-sso

로그인 콜백-가드 흐름 및 API 인증 처리 안정화

This commit is contained in:
2026-03-03 14:11:54 +09:00
parent 7c1dbaf206
commit 7cf07a5627
5 changed files with 20 additions and 8 deletions

View File

@@ -10,7 +10,9 @@ export default function AuthCallbackPage() {
useEffect(() => {
// 팝업으로 열린 경우 signinPopupCallback 처리
if (window.opener) {
userManager.signinPopupCallback();
userManager.signinPopupCallback().catch((error) => {
console.error("Popup callback failed:", error);
});
return;
}