You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's interesting. Thanks for catching that. It should be really easy to add an extra guard for that, I'll take a look at updating some stuff in the example to prevent that when I have some time. Two options to fix this off the top of my head:
We should be able to look at the cookies being set on the response, and not refresh the jwt if there is already an unset cookie present.
We can look at the request and do not do implicit refreshing if it's the logout endpoint that is being hit.
There is a possible conflict between logout and token prolongation. In the actual example, a new access cookie could be set after the logout request.
The text was updated successfully, but these errors were encountered: