You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When single logout is enabled, SP fails to perform logout with error Authentication failed. I tried to debug and found that error is happening in ValidateLogoutResponseRedirect(). It returns errors like invalid character entity &d (no semicolon) or invalid UTF-8. After some investigation, I've found that it's related to compressed response. Error happens here:
@alexanderzobnin, is it because of this that the trivial examplehttp://localhost:8000/logout endpoint ends up redirecting to http://localhost:8000/saml/slo and returning a 404?
When single logout is enabled, SP fails to perform logout with error
Authentication failed
. I tried to debug and found that error is happening inValidateLogoutResponseRedirect()
. It returns errors likeinvalid character entity &d (no semicolon)
orinvalid UTF-8
. After some investigation, I've found that it's related to compressed response. Error happens here:saml/service_provider.go
Line 1538 in 2aeb2ef
rawResponseBuf
contains compressed bytes and should be deflate first. In previous versions it was correct:saml/service_provider.go
Line 1561 in 5e0ffd2
where
gr
is deflated string:saml/service_provider.go
Line 1538 in 5e0ffd2
So I think the fix is pretty straightforward.
The text was updated successfully, but these errors were encountered: