So the axios thing will call the refresh endpoint ...
# support-questions
r
So the axios thing will call the refresh endpoint automatically when it gets 401. After a successful refresh, it will call the original API again and it should all work.. In case the refresh fails too (cause the refresh token has expired), then your axios will return a 401 error and you should redirect the user to the login screen (which should also happen on its own cause of the auth wrapper)