Previous Topic: Incorrect SAML 2.0 Auto-post Message Appears During Log On (CQ 137350)Next Topic: Search for Claims works with IdentifierClaim at certain places in SharePoint


HTTP 500 Error is Displayed when SharePoint Issues a 302 as FedAuth Cookie Expires (CQ 138199)

Symptom:

The SharePoint redirect fails and a 500 error appears in my browser when the following occurs:

I perform a POST action on a page in SharePoint, and the SharePoint Fed-Auth cookie expires.

Solution:

This behavior is a known issue with the SharePoint Claims-based authentication model. SharePoint Claims Authentication fires a 302 redirect to the account partner to re issue a WS-FED Token instead of allowing SharePoint to acknowledge the POST. Using the WS-FED Token SharePoint re-creates a new Fed-Auth Cookie. SharePoint then tries to redo the same POST action and the HTTP 500 error is displayed.