cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle custom nuxeo Authentication with a JS frontend ?

Antoine_Cordier
Star Contributor
Star Contributor

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)

1 REPLY 1

Antoine_Cordier
Star Contributor
Star Contributor

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)

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.