regarding SESSION_COOKIE_DOMAIN

9 views
Skip to first unread message

Bharat Perumalla

unread,
Sep 21, 2015, 7:14:39 AM9/21/15
to Django users
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

Reply all
Reply to author
Forward
0 new messages