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

clearSession callback never executed upon success #79

Closed
cocojoe opened this issue Aug 18, 2017 · 0 comments
Closed

clearSession callback never executed upon success #79

cocojoe opened this issue Aug 18, 2017 · 0 comments

Comments

@cocojoe
Copy link
Member

cocojoe commented Aug 18, 2017

Upon a successful call to clearSession the callback is not executed.

https://github.com/auth0/react-native-auth0/blob/master/webauth/agent.js#L15

Don't know how the Listener works exactly but this will never be executed for the logout url. (Have tested).

Perhaps https://github.com/auth0/react-native-auth0/blob/master/webauth/agent.js#L19
should be handling the response and checking for null/error. The callback in iOS will only be executed if there is an error.

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

1 participant