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

Distinguish no internet connection error #50

Closed
balinterdi opened this issue Oct 31, 2014 · 1 comment · Fixed by #71
Closed

Distinguish no internet connection error #50

balinterdi opened this issue Oct 31, 2014 · 1 comment · Fixed by #71
Assignees

Comments

@balinterdi
Copy link

In our client application, we want to be able to set apart the case where the user does not have an internet connection and display a message accordingly on the login screen.

It seems to me though that the error status code for the "no connection" error is transformed into a 401 because of this line that fixes an IE 10 error, judging from the code comment.

Is there a way to distinguish the "no connection" error from other errors and have everything also work under IE10?

@pose
Copy link

pose commented Mar 10, 2015

Reproduction steps:

  1. create a login using auth0.js
  2. disconnect from the network
  3. try to login

Notify @patrickyoung when this is fixed.

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

Successfully merging a pull request may close this issue.

3 participants