Android refresh token with multiple calls with retrofit Refreshing token with Retrofit. It is usually recommended to add an interceptor, check if the answer is 401 and if so, store the call, make a call to our backend to request a new token. If we have not received the new token, delete the stored data and take our user to the login.

2m read timeFrom medium.com
Post cover image

Sort: