Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling 401 on GET and/or manually re-queueing #88

Open
pullaf opened this issue May 23, 2016 · 1 comment
Open

Handling 401 on GET and/or manually re-queueing #88

pullaf opened this issue May 23, 2016 · 1 comment

Comments

@pullaf
Copy link

pullaf commented May 23, 2016

I'm trying to handle login timeouts (and idling) by prompting an unlock screen overlaid to the page that's shown through an HttpInterceptor on 401 requests
I've also queued the failed requests to send them again manually since your plugin doesn't do that for GET but I must've missed something cause the resent request doesn't seem to trigger the plugin to update the data/promise/whatever I've linked to it... how can I handle this?

@felippenardi
Copy link

Hi @TheMdk!

I have not contributed at to this repository, but I'd like to try to help. Can you recreate this problem in a jsfiddle (or any other service) so we can see how you are hooking up angular-cached-resource with a manual queue for failed requests to be sent as soon as the user re-logins?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants