swampdragon-auth icon indicating copy to clipboard operation
swampdragon-auth copied to clipboard

Configuring user sessions in production continuation of ticket # 14

Open PhilippeTrounev opened this issue 9 years ago • 1 comments

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...

PhilippeTrounev avatar Oct 09 '15 21:10 PhilippeTrounev

Any solution for this issue?

salazarfelipe avatar May 27 '16 06:05 salazarfelipe