aad_oauth icon indicating copy to clipboard operation
aad_oauth copied to clipboard

How to use default browser for sign in Mobile

Open Harshk16 opened this issue 3 years ago • 3 comments

  1. Package is opening web view for login. user has to make login every time even user is logged in default browser.
  2. Two Factor authenticate is not working with login (seems like because of web view it's not letting to navigate in Authenticator app)

Harshk16 avatar May 22 '22 15:05 Harshk16

I'm facing the same issue with the item 2 here. The MFA is enabled for users on Azure AD, it works on flutter Web but with mobile devices, it just asks for user + password and nothing about the MFA, it just goes ahead and continue with the flow... And I noticed that in the flutter web, the authentication is opened in a "popup" window, since mobile is in an embeded browser...

gustavobigardi avatar May 23 '22 14:05 gustavobigardi

@gustavobigardi i think if we use default browser (like chrome and safari) then it will fix these issue

Harshk16 avatar May 25 '22 08:05 Harshk16

But when asking for some scopes, like Mail.Read from the Ms Graph, it asks for the MFA on Mobile and Web, but only requesting basic scopes like user.read and others, it only asks for the MFA only on Web.

If the problem is the webview, why it asks with the Mail.Read scope?

gustavobigardi avatar Jun 30 '22 20:06 gustavobigardi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

stale[bot] avatar Sep 09 '22 00:09 stale[bot]