-
Notifications
You must be signed in to change notification settings - Fork 36
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
Handle error gracefully when app url scheme is not found #2515
base: dev
Are you sure you want to change the base?
Handle error gracefully when app url scheme is not found #2515
Conversation
dc9262a
to
44d6d00
Compare
@microsoft-github-policy-service agree |
...ava/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClient.java
Outdated
Show resolved
Hide resolved
@denniskniep I'm not sure what a hint could be for installing the app. Is the app on PlayStore and/or is there a URL for downloading this app? |
@shahzaibj What I meant with that was: But that is nothing I see in that library here. It must be implemented by the individual authentication process. |
...ava/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClient.java
Outdated
Show resolved
Hide resolved
@shahzaibj implemented your suggestions |
Hi @shahzaibj, |
...ava/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClient.java
Show resolved
Hide resolved
@rpdome any further feedback? Can we merge this? |
Co-authored-by: Shahzaib <[email protected]>
Added PR Ref to Changelog Co-authored-by: Shahzaib <[email protected]>
Added final to catch Co-authored-by: Shahzaib <[email protected]>
1bb6050
to
06ca6b7
Compare
@rpdome I kept up with recent changes in repo with rebase |
@denniskniep how did you test this? |
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.
Approved with suggestion.
@iamgusain I didn´t wrote a unit-test so far for this case. If you want me to write a test for that catch block, I can look into that. |
Hi, @iamgusain @shahzaibj There are now two approvals, can we merge this? |
Can we add an error handler to the AmazonAppUri processing? So that if someone does not have the app yet installed it is not crashing the authentication process? Then an hint can be displayed, that the app should be installed.
cc: @shahzaibj