And App1 consumes XHR REST Web Services (Ajax) from App2. But in the first request to App2, The App2 does not recognize it is not logged into cas and need a synchronous request to login. I am using CORS and I added these headers in Nginx:
This flow is OK in Chrome, but in firefox the browser uses OPTIONS Http Method. Any idea to configure or customize CAS to support multidomain?
Pascal Rigaux
unread,
Oct 26, 2016, 3:13:31 AM10/26/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cas-...@apereo.org
Hi,
AFAIK you may have cookies on first CORS request, but after a 302 no more cookies.
So a direct CORS to CAS with CAS accepting CORS should work.
If CAS 302 to your app, on same domain, it should work too.
Could you tell more?
NB: as for me, i use JSONP for login, then CORS afterwards.
Expert en développement et déploiement d'applications
DSIUN-SAS (service applications et services numériques)
Université Paris 1 Panthéon-Sorbonne - Centre Pierre Mendès France (PMF)
B 402 - 90, rue de Tolbiac - 75634 PARIS CEDEX 13 - FRANCE
Tél : 01 44 07 86 59