swampdragon-auth
swampdragon-auth copied to clipboard
Configuring user sessions in production continuation of ticket # 14
Hi, I am having trouble getting this to work in production. In localhost it works fine because I can set
DRAGON_URL = '152.25.32.123:9000' SWAMP_DRAGON_HOST = ''152.25.32.123' SWAMP_DRAGON_PORT = '9000'
However in production I set
DRAGON_URL = 'sd.mydomain.com' SWAMP_DRAGON_HOST = '127.0.0.1' or SWAMP_DRAGON_HOST = 'myinternalP' SWAMP_DRAGON_PORT = '9000' SESSION_COOKIE_DOMAIN = ".mydomain.com
SD works with either configuration. The domains resolve and swampdragon.js config is available,
but sessionid and csrf token are not passed with the session therefore user keeps returning None.
Any suggestions are appreciated...
Any solution for this issue?