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
I am trying to get access to the new access-token after verifyCredentials has been called. My application interacts with multiple APIs on the back and uses the client and access-token to verify that a user has been login and is authorized. The problem I am having is that when my React frontend reloads I have to update the stored access-token with the new one. I've looked the the of redux-token-auth and found that the verifyCredentials function does not return a promise for I can access the response data. Is there any other way to access the new access-token immediately after reload so it can be sent and store in backend?
The text was updated successfully, but these errors were encountered:
I am trying to get access to the new access-token after verifyCredentials has been called. My application interacts with multiple APIs on the back and uses the client and access-token to verify that a user has been login and is authorized. The problem I am having is that when my React frontend reloads I have to update the stored access-token with the new one. I've looked the the of redux-token-auth and found that the verifyCredentials function does not return a promise for I can access the response data. Is there any other way to access the new access-token immediately after reload so it can be sent and store in backend?
The text was updated successfully, but these errors were encountered: