Next 13 Axios Interceptors From External API [Protected Apis Needing Bearer Token]
Unanswered
Bombay-duck posted this in #help-forum
Bombay-duckOP
iam using these axios interceptors to handle protected apis in both the client and server side. I have an external backed which is giving me the access token. the below interceptors code works properly but the problem is when the jwt token is expired i cannot use retries or set or remove cookies from the interceptors file. and i cant find a solution to fix my auth flow. Please help me iam stuck in a critical deadline.