Skip to main content

SAML 2.0 SP Init "System Error: We are unable to continue at this time. Please close your browser and try again."

Symptom

SP init configured realm throws the error "System Error: We are unable to continue at this time. Please close your browser and try again. Error: at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at SAML20SPInitWL.Page_Load(Object sender, EventArgs e)" upon user authentication.

Cause

The cause of this issue is the PostAuth cookie name does not match in the file.aspx.vb file

Resoltuion

Change the (FormsAuthTokenName) to (ConfigurationManager.Appsettings("PostAuthCookieName")