avi.f
12/18/2023, 6:57 PMconst sess = Session.createNewSessionWithoutRequestResponse
and reply back to the client with sess.getAccessToken()
, the client now pass this token in the Bearer string.
As far as I understand this token is good for 1 hour, so I want refresh refresh it.
1. how do I get the refresh token from the session in order to refresh the sesssion?
2. should I send back the refresh token the same way I send the accessToken?
3. When should I refresh, on every request?
Thanks