Not able to persist session idp cookies

Vadaram, Sushanth Sushanth.Vadaram at carrier.com
Tue Dec 8 05:57:33 UTC 2020


[cid:image001.png at 01D6CD55.1ADFFF10]



Expires is set as session and not some time. Is there any way this can be changed from session to some time.



Thanks & Regards,

Sushanth Vadaram

+91-9154096280



-----Original Message-----
From: Nate Klingenstein <ndk at signet.id>
Sent: Tuesday, December 8, 2020 10:56 AM
To: Shib Users <users at shibboleth.net>
Cc: Vadaram, Sushanth <Sushanth.Vadaram at carrier.com>
Subject: [External] RE: Not able to persist session idp cookies



Sushanth,



> We are seeing that once after successful login and closure of the browser. We are again asked to login when we close the browser.

>

> We did set the idp.session in idp.properties but cookie wasn’t setting the cookie max-age. The value is still session which might be the reason why the session is not getting restored.



I suspect it's because the Cache-Control attributes of the cookie are being set to no-cache and no-store.  I'm not aware of a way to configure the specific flags of the cookie without touching the code, though it may be possible.



https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTTP%2FHeaders%2FCache-Control__%3B!!MvWE!XcV15O3SGWrSNRBmvCgN6rSJvIyL-EQ9NqWXR4NFTibbjXv3xP-YHJGecq1Ir5IVQIwq%24&data=04%7C01%7CSushanth.Vadaram%40carrier.com%7Cd787b10f2d784abf869f08d89b39b8cd%7C36839a657f3f4bac9ea4f571f10a9a03%7C0%7C0%7C637430019495281959%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rr9wlFIrjCxSfTUQzg15zVGeds%2BOrdQtaKQmI2fQyLU%3D&reserved=0



Maybe someone else on the list has a better idea, Nate.



--------

Signet, Inc.

The Art of Access ®



https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fwww.signet.id__%3B!!MvWE!XcV15O3SGWrSNRBmvCgN6rSJvIyL-EQ9NqWXR4NFTibbjXv3xP-YHJGecq1Ir1YkY8pc%24&data=04%7C01%7CSushanth.Vadaram%40carrier.com%7Cd787b10f2d784abf869f08d89b39b8cd%7C36839a657f3f4bac9ea4f571f10a9a03%7C0%7C0%7C637430019495281959%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3ohXcqK6T%2Fv3GwqfkYpuf%2B9f0t4EXTubUtECsi9c5oY%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20201208/3a2869b2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16671 bytes
Desc: image001.png
URL: <http://shibboleth.net/pipermail/users/attachments/20201208/3a2869b2/attachment.png>


More information about the users mailing list