Not able to persist session idp cookies

Nate Klingenstein ndk at signet.id
Tue Dec 8 05:25:38 UTC 2020


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://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

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

--------
Signet, Inc.
The Art of Access ®

https://www.signet.id


More information about the users mailing list