1
0
forked from baron/baron-sso

세션 종료 시 Hydra 토큰 세션도 함께 무효화

This commit is contained in:
2026-04-02 11:46:41 +09:00
parent a2f2b2dd71
commit 1524da2d6a
3 changed files with 247 additions and 25 deletions

View File

@@ -264,6 +264,8 @@ func (s *HydraAdminService) RevokeConsentSessions(ctx context.Context, subject,
}
if clientID != "" {
params["client"] = clientID
} else {
params["all"] = "true"
}
endpoint, err := s.buildURLWithParams("/oauth2/auth/sessions/consent", params)
if err != nil {