I am facing a weird problem. I am able to do the silent renew, but my IdP cookie is getting sliding. More into the problem...
I have an IdP session cookie (IdentityServer) lifetime set to expire in 15 minutes and I kept the same time for the access token and id token lifetime too.
On my JavaScript client, I check user activity every 2 minutes and if there is activity in the last 2 min, I will renew the token.
I am able to get the access token and id token with renewed expiration times, but after 15 minutes (the IdP cookie life time) silent renew calls are failing and IdP is logging out.
I checked response of silent renew call, I see no cookies being set (with new sliding expiration times) in the response headers.
Are there any settings I am supposed to enable at the server side? Appreciate your help.