Hey guys, my question is about the session extend capabilities.
API requests are forwarded via Traefik to oathkeeper, which mutates the cookie and sends a payload to a NestJS server.
The payload is handled by an ory strategy "oathkeeper-jwt" which then authenticated the user.
I am using the kratos client sdk in the server to extend the user's session, which is successful. The session is returned with a new expiry date, then I send a new cookie to the browser, which is also set correctly. The session entry in Kratos database is also updated successfully.
The problem is that not matter how many times I extend the session, the requests stop being authorized after the original session expiry date.
I haven't used Go before, but judging by the code, the session is not updated in the session store after extension. It returns the extended session, but when used to verify if the session is still valid, it uses the original.
Is it me, or it's not working correctly? Please let me know. Thanks