Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Heres the correct web.config entry...
<location path="exampleUrl"> <system.web> <authentication mode="None" /> <authorization> <allow users="*"/> </authorization> <customErrors mode="Off"></customErrors> </system.web> </location>
Hello
We have a controller, /exampleUrl, that talks to an external API. Our frontend uses AJAX to talk to the controller.
The external API returns an error sometimes and then I want to send a 401 statuscode back to the frontend.
I've noticed that when sending back a 401 to the client, EPI hooks in and redirects me to the loginpage for the CMS...can I somehow turn this off?
I've added this to my web.config but it doesn't work...what am I missing?