Refresh Access
If your session has expired with Wallaby, you can refresh your access by calling refreshAccessToken
function which allows the client to refresh the access token by providing a signature and message using the same pair of keys used on sign up.
Making a POST
request to /auth/refresh-access-token
to update the accessToken
for the user in Wallaby system.
The function does not take any params. It returns a new accessToken
for the user which gets stored in localStorage automatically.
Function Params
Function Response
Attribute
Type
Description
accessToken
string
A new valid access token
Example
Last updated