As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
I want to handle CAS authentication against nuxeo with a JS frontend (angular)
For that I want to intercept 401 responses sent from server as I can make CAS dialog happen from that point.
It seems i'm getting into this issue:
http://stackoverflow.com/questions/21710686/wrong-error-code-in-angular-js-resource-responce
I would not have thought about it but could it be that something has to be done on Nuxeo as the answer to the above post suggests ? (CORS contribution is active on my platform)
To sum up the link, what happens is that angular is getting a 404 while firefox console and my apache server are both stating a 401 (as expected)