pusher-angular icon indicating copy to clipboard operation
pusher-angular copied to clipboard

Retry auth request on error

Open rcevs opened this issue 6 years ago • 0 comments

Hi.

I'm using JWT tokens for my app authentication. When the token expires my app automatically sends a refresh token request to the backend and then repeats the original request with the new token.

This isn't happening with pusher-angular. How can I get the response status and retry the request in case it fails the first time?

Thanks in advance!

rcevs avatar Aug 02 '18 03:08 rcevs