Token renewal with React native

Job ID: 37543393

Budget: $10 – $30 USD

In my project, I create a token during the login process. When the token expires for 1 hour, I use the refresh token API for the new token. However, when the token expires, I need to replace the new token with the old token. I pull the userData by sending a request with the token. When the token expires, the new token is purchased with refreshToken and the data is withdrawn.
Related categories: JavaScript React Native