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

Fix bug when canceling WebAuth flow #120

Merged
merged 1 commit into from
Oct 5, 2017
Merged

Conversation

lbalmaceda
Copy link
Contributor

@lbalmaceda lbalmaceda commented Oct 3, 2017

Prevent canceled authentication from reaching the WebAuthProvider.resume() method.
The important lines are: https://github.com/auth0/Auth0.Android/pull/120/files#diff-101f8235cd64f6d21cfc3fc82d610bd5R25 and https://github.com/auth0/Auth0.Android/pull/120/files#diff-101f8235cd64f6d21cfc3fc82d610bd5R33. The remaining diff is just updating the tests according to that change.
Fixes #119

@lbalmaceda lbalmaceda requested a review from cocojoe October 3, 2017 17:22
@lbalmaceda lbalmaceda force-pushed the fix-npe-on-webauth-cancel branch from ce9449f to 38ca0e4 Compare October 4, 2017 14:26
@lbalmaceda lbalmaceda added this to the v1-Next milestone Oct 4, 2017
Copy link
Member

@cocojoe cocojoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@lbalmaceda lbalmaceda merged commit ed6b146 into master Oct 5, 2017
@lbalmaceda lbalmaceda deleted the fix-npe-on-webauth-cancel branch October 5, 2017 13:56
@lbalmaceda lbalmaceda modified the milestones: v1-Next, 1.10.1 Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants