
User16148822500136406721 (Customer) asked a question.
Hi,
In the project we are using OKTA as IDP and AWS Cognito as SP. Once I login into my application using OKTA, OKTA maintains a cookie called sid and its value would be available only for that session. Is there any way to increase the max-age or expiry time for sid ? We need this because, upon closing the browser, sid is removed from cookies and when i reopen the browser, open my app and then initiate SP logout, Single logout is not triggered as sid is removed in cookies. Due to this logout from idp is not happening for this case. Please suggest!
Thanks,
Sriram

Thank you for your inquiry Sriram!
Please follow the steps described in the following article:
https://support.okta.com/help/s/question/0D50Z00008C3jntSAB/okta-portal-session-timeout?language=en_US
Also note that when max-age is missing browsers delete the session cookies when the it is closed. If you close it normally the session is permanently lost on the client side.
Thank you,
Andrei Niculae
Technical Support Engineer
Okta Global Customer Care