Security: Get message "Unexpected token <" when trying to approve content after logout
Nov 02 2016
Mar 10 2017
Closed, Fixed and tested
Steps to reproduce
- UserA is approver of content 1, and Content is in review state.
- Open the site in 2 tabs of a browser: Content 1 is opening on OPE mode in both browsers.
- On tab 1: User logs out of site.
- On tab 2: User opens the option menu then clicks Approve changes.
Show dialog requiring user to log in again.
Show dialog with message "Unexpected token <"
How to apply:
If you are using the our standard Asp.net Identity setup in Startup, you also need to hook up a new handler to the OnApplyRedirect on the Provider object. app.CmsOnCookieApplyRedirect...