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

Request to add user-facing error message. #751

Closed
sjudson opened this issue Dec 15, 2016 · 6 comments
Closed

Request to add user-facing error message. #751

sjudson opened this issue Dec 15, 2016 · 6 comments
Labels
enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature
Milestone

Comments

@sjudson
Copy link

sjudson commented Dec 15, 2016

For cases where the a session is necessary, e.g. if some stored context is needed to process the login information.

Example JSON error body:

{ name: "ValidationError",
  code: "session_missing",
  description: "Session missing. Close all open login dialogs and try again."
  statusCode: 400}
@hzalaz hzalaz added the enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature label Dec 15, 2016
@glena glena modified the milestone: v10-Next Dec 19, 2016
@glena
Copy link
Contributor

glena commented Dec 23, 2016

Done, but we need a proper error message for english and translations.

@joshuatantonflynn
Copy link

I'm getting this error when attempting login. Refreshing the page will allow me to login. However, even though login is successful loginResult.IsError is true. I tell my code that when this happens just relaunch the auth0 endpoint, the second time loginResult is good. I assume this is due to refresh of page, how else can one avoid getting this session_missing error???

@luisrudge
Copy link
Contributor

this issue is very old. what version of lock are you using? can you point me some steps so I can reproduce the issue locally?

@joshuatantonflynn
Copy link

I'm using the Auth0.OidcClient.Android v1.2.0 NuGet Package. I've even reproduced this error using the SampleApp from Auth0. However recent tests have only reproduced it on Galaxy Notes (8 & 5). I think it might be a problem with samsung browser, as when I tried on my personal phone (nexus 5) which has chrome as the default browser this problem did not occur. I am going to attempt forcing it to open on chrome, but if the error isn't with the browser I don't know what it would be. It only occurs when the app was logged out and closed.

@luisrudge
Copy link
Contributor

This repo is for lock web, not lock android. Are you talking about https://github.com/auth0/Lock.Android?

@joshuatantonflynn
Copy link

oh, my bad I found this page through googling "auth0 session_missing". My Xamarin project is using a NuGet package to use auth0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature
Projects
None yet
Development

No branches or pull requests

5 participants