-
Notifications
You must be signed in to change notification settings - Fork 113
Petterh/issue 726: Do not treat web view errors as "cancel" #1018
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
Conversation
Added input type to email address field in sample app
of pretending the user cancelled the flow Fixed some typos Reduced visibility of classes and methods A bit less trailing white space
# Conflicts: # adal/src/main/java/com/microsoft/aad/adal/PromptBehavior.java
# Conflicts: # adal/src/main/java/com/microsoft/aad/adal/AuthenticationDialog.java # adal/src/main/java/com/microsoft/aad/adal/Discovery.java # sample/src/main/res/layout/activity_main.xml
# Conflicts: # adal/src/main/java/com/microsoft/aad/adal/AuthenticationActivity.java # adal/src/main/java/com/microsoft/aad/adal/AuthenticationConstants.java # adal/src/main/java/com/microsoft/aad/adal/AuthenticationDialog.java # adal/src/main/java/com/microsoft/aad/adal/BasicWebViewClient.java
…activedirectory-library-for-android into petterh/issue-726 # Conflicts: # adal/src/main/java/com/microsoft/aad/adal/AuthenticationDialog.java
@iambmelt Any chance of anyone reviewing this? It's been over a year since I created the PR, but the bug is still there. |
Hi @petterh -- thanks for updating your PR -- personally, I'd really like to see this merge but am heads-down on some other work before I can dedicate cycles to this. This item has recently moved up visibility-wise and will be prioritized in an upcoming planning meeting. |
# Conflicts: # adal/build.gradle # common
# Conflicts: # adal/build.gradle
e2f71aa
to
98c5930
Compare
# Conflicts: # adal/src/androidTest/java/com/microsoft/aad/adal/BasicWebViewClientTests.java # adal/src/main/java/com/microsoft/aad/adal/AuthenticationActivity.java # adal/src/main/java/com/microsoft/aad/adal/BasicWebViewClient.java
@iambmelt @heidijinxujia Any chance of this ever getting in? It's been hanging for over 22 months now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@petterh Merged - thanks for the nudge :-) |
This fixes issue 726: Web view errors treated as cancel.
This change properly propagates server-side authentication errors to client instead of pretending the user cancelled the flow.
Other minor fixes include removal of trailing white space, fixing the occasional typo and protecting against a possible NRE in
Discovery
.