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

AcquireTokenInteractive only offers Password Sign-in #4687

Closed
psychosys opened this issue Mar 28, 2024 · 4 comments
Closed

AcquireTokenInteractive only offers Password Sign-in #4687

psychosys opened this issue Mar 28, 2024 · 4 comments

Comments

@psychosys
Copy link

psychosys commented Mar 28, 2024

Hi Guys

Microsoft.Identity.Client to create a program to sign-in to Microsoft Account,
I am using AcquireTokenInteractive the login dialog only gives me Password Sign-in , I have Yubikey and other factor set in my account to login with but AcquireTokenInteractive only offers Password , basically I want to make it passwordless, I want to login Once and rest of time it will be passwordless

I am using WebView2 but it still doesn't give me YubiKey signin option

Regular Browser Gives me this option but I was unable to get such thing with Microsoft.Identity.Client
image

image

Thanks

@bgavrilMS
Copy link
Member

I'm not sure that's WebView2. We disabled WebView2 support with Entra ID auth, as there were SSO problems with it and we don't want to invest in browser based auth.

Can you please try to use WAM instead? https://aka.ms/msal-net-wam

System browser will also work.

@psychosys
Copy link
Author

I'm not sure that's WebView2. We disabled WebView2 support with Entra ID auth, as there were SSO problems with it and we don't want to invest in browser based auth.

Can you please try to use WAM instead? https://aka.ms/msal-net-wam

System browser will also work.

Thank you very much, I was able to fix it

I have a question and nobody was able to answer me

I would like to login with FIDO and also receive Push with Microsoft Authentication, Push only works with Password sign-in not FIDO, do you know How can I enforce MFA through Push ?

@bgavrilMS
Copy link
Member

@psychosys - I do not know, these aspects are not handled by the SDK.

My uninformed opinion - FIDO is a form of MFA, so AAD doesn't require another form of MFA (Authenticator). https://learn.microsoft.com/en-us/entra/identity/authentication/concept-mfa-howitworks#available-verification-methods

I do not know if there is an option to force 2 MFA methods (e.g. FIDO and Authenticator).

@localden
Copy link
Collaborator

Closing this issue as the MSAL part is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants