The refreshSession method is not really refreshing the session. It is calling the endpoint to refresh the session but the session object is not updated when the response is received.
There is no way to update the session object when you force refresh the token using the refreshSession method.
In this PR I also updated the session object when the refresh is made.
Hello 👋
The
refreshSession
method is not really refreshing the session. It is calling the endpoint to refresh the session but the session object is not updated when the response is received.There is no way to update the session object when you force refresh the token using the
refreshSession
method.In this PR I also updated the session object when the refresh is made.
Thanks, Cosmin