SSO 로그아웃(RP-Initiated end_session) 구현 및 세션 쿠키 정리 보강
- BaronSSO.SignOutAsync: id_token_hint 기반 end_session 로그아웃 + 로컬 세션 정리 - SsoClient.LogoutAsync: end_session_endpoint 이동 후 post_logout 복귀를 WebView에서 가로채기 - BaronSSOOption.PostLogoutRedirectUri 추가 - LoginWindow: 쿠키 삭제를 ClearBrowsingDataAsync(완료 대기)로 변경해 재로그인 자동 SSO 통과 방지 - UserInfo: IsFamily/IsCenter 대소문자 무시 비교를 StringComparer로 수정(빌드 오류 해소) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using BaronSoftware;
|
||||
using BaronSoftware.Auth;
|
||||
using BaronSoftware.SSO;
|
||||
using BaronSoftware.SSO.Sample;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
@@ -72,6 +73,7 @@ namespace BaronSoftware.Auth.Sample
|
||||
Authority = Oidc.Authority,
|
||||
ClientId = Oidc.ClientId,
|
||||
RedirectUri = Oidc.RedirectUri,
|
||||
Validator = new SimpleUserValidator()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user