Redirect failed because authentication ticket could not be stored in a cookie or URL due to configuration restrictions. Set ...

Redirect failed because authentication ticket could not be stored in a cookie or URL due to configuration restrictions. Set EnableCrossAppRedirect to true in the  configuration section in order to enable the ticket to be transferred to external locations via the URL.