Describe the bug
I recently tried integrating ZITADEL with Zammad via saml. Everything seems to work properly, logging in etc all works. The only feature I found that does not work is the SLO functionality, which causes various XML syntax errors. Everytime SLO is attempted one of the following errors will be thrown, and SLO will not be completed:
2025-02-06 14:45:49.574 time="2025-02-06T13:45:49Z" level=error msg="XML syntax error on line 1: invalid UTF-8" caller="/home/runner/go/pkg/mod/github.com/zitadel/saml@v0.3.3/pkg/provider/checker/checker.go:112"
2025-02-06 14:45:21.229 time="2025-02-06T13:45:21Z" level=error msg="XML syntax error on line 1: invalid UTF-8" caller="/home/runner/go/pkg/mod/github.com/zitadel/saml@v0.3.3/pkg/provider/checker/checker.go:112"
2025-02-06 14:45:03.930 time="2025-02-06T13:45:03Z" level=error msg="XML syntax error on line 1: invalid character entity &# (no semicolon)" caller="/home/runner/go/pkg/mod/github.com/zitadel/saml@v0.3.3/pkg/provider/checker/checker.go:112"
2025-02-06 14:41:08.282 time="2025-02-06T13:41:08Z" level=error msg="XML syntax error on line 2: invalid UTF-8" caller="/home/runner/go/pkg/mod/github.com/zitadel/saml@v0.3.3/pkg/provider/checker/checker.go:112"
2025-02-06 14:39:48.617 time="2025-02-06T13:39:48Z" level=error msg="XML syntax error on line 2: invalid UTF-8" caller="/home/runner/go/pkg/mod/github.com/zitadel/saml@v0.3.3/pkg/provider/checker/checker.go:112"
I suspect it might be due to the XML being compressed or something like that? However I'm not that familiar with saml to really understand the problem, if it were up to me OIDC is the only way to go :P. When I try to decode the request using samltool.io I also cant see anything wrong, see screenshot below.
To Reproduce
Steps to reproduce the behavior:
- Link Zammad to ZITADEL using saml
- Sign in using saml
- Click on logout in Zammad
- Observe the error in the browser
- Same error can be found in the logs
Expected behavior
Expected behaviour would be ZITADEL accepting and processing the SLO request.
Screenshots


Desktop (please complete the following information):
- OS: Linux and Mac
- Browser Chrome, safari and Firefox
- Version latest greatest
Additional context
N/A
Describe the bug
I recently tried integrating ZITADEL with Zammad via saml. Everything seems to work properly, logging in etc all works. The only feature I found that does not work is the SLO functionality, which causes various XML syntax errors. Everytime SLO is attempted one of the following errors will be thrown, and SLO will not be completed:
I suspect it might be due to the XML being compressed or something like that? However I'm not that familiar with saml to really understand the problem, if it were up to me OIDC is the only way to go :P. When I try to decode the request using samltool.io I also cant see anything wrong, see screenshot below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected behaviour would be ZITADEL accepting and processing the SLO request.
Screenshots

Desktop (please complete the following information):
Additional context
N/A