How to handle custom nuxeo Authentication with a JS frontend ?


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:

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)

1 votes

0 answers



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)