Hi
I am trying to use single-sign-on with sub domains. I configured SESSION_COOKIE_DOMAIN in django settings as ".cvbn.com" for all websites. I configured Apache with below configuration
Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Credentials: "true"
Header set Access-Control-Allow-Headers "SOAPAction, Authorization, username, password, origin, X-Requested-With, Content-Type, XMLHttpRequest"
Header set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS"
But still I could not get cookie sharing across sub domains. Can you share some light on this?
Thanks
Bharat
-- I am trying to use single-sign-on with sub domains. I configured SESSION_COOKIE_DOMAIN in django settings as ".cvbn.com" for all websites. I configured Apache with below configuration
Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Credentials: "true"
Header set Access-Control-Allow-Headers "SOAPAction, Authorization, username, password, origin, X-Requested-With, Content-Type, XMLHttpRequest"
Header set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS"
But still I could not get cookie sharing across sub domains. Can you share some light on this?
Thanks
Bharat
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7db764da-4bbb-414a-9dc9-db61f4bdb379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment