…supported, enabled, forced.
added structures for logout request and response.
regenerated code and yaml
side work: documented nature of InitializeSamlServiceProvider
global logout interceptor callback
linked saml logout handler/backend with token manager frontend, via the interceptor callback
added guards against UI misbehaviour
register the new structures with the norman frame work to enable serialization to and from json
added handling of SLO responses.
inject slo support flag into the initial authconfigs
fix: extended flow state storage with ability to set the cookie path.
hardwired acs path is no good when redirecting to the slo endpoint.
set proper cookie paths wherever we have state setup
added request signing - applies only to logout requests
(i.e. auth requests are not signed, as before)
(because we apparently use the redirect binding despite the code saying POST)
chore: log cleanup, removed some, made some official
fix: comment typo in go.mod
redirected crewjam/saml to our rancher/saml for decompression fix.
fix: missing/different generated files
fix KC logout issues with local crewjam patch.
fix missing handling of detached signatures on responses
import crewjam fix providing proper detached sig on logout requests.
KC still ok.
OKTA still fails, but different - issuer mismatch, not invalid sig
address comment, drop todo note, crewjam/saml is forked, and fork used
address comment - reduce saml logging
Apply suggestions from code review
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
address comments
Apply suggestions from code review
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
fixup of partial change for principled extension of redirect url with error information
old code still needed for bad case (unparseable url)
implemented todo: Assert "action == logout" && !sloForced, guard against UI misbehaviour.
IOW, the UI will get an error now if it tries to perform a regular logout while the provider is configured for forced SLO, i.e. logout all as the only allowed method.