Troubleshooting Okta Redirect Error

Error

UnhandledException: System.Web.HttpException (0x80004005): Server cannot set status after HTTP headers have been sent.

Cause

FTOS OpenID provider does not redirect when the user is still logged in due to the OpenID cookie not being expired too.

What should I do?

For session expiration to work seamlessly, follow these steps:

  1. Using an Okta admin account, log into Okta.
  2. Click API tab > Trusted Origins.
  3. Allow CORS and Redirect for FTOS portal host.

Related Topics Link IconRelated Topics