Skip to content

Headers are read-only exception during logging out #134

Discussion options

You must be logged in to vote

Are you using the Saml2 Http POST binding for the logout to the Saml2 provider? That binding writes a body to the response which will cause the headers to be flushed. When the IdentityServer FederatedSignOut.AuthenticationRequestHandlerWrapper tries to set the headers that is no longer possible.

It is usually better to configure the Saml2 library to use the Http Redirect binding for logout.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@AndersAbel
Comment options

@jiemin-star
Comment options

@AndersAbel
Comment options

@jiemin-star
Comment options

@AndersAbel
Comment options

Answer selected by jiemin-star
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants