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

Login Microsoft with MFA #1051

Open
thekiet opened this issue Jan 17, 2025 · 0 comments
Open

Login Microsoft with MFA #1051

thekiet opened this issue Jan 17, 2025 · 0 comments

Comments

@thekiet
Copy link

thekiet commented Jan 17, 2025

Issue

"When I log in to Microsoft, the mobile app bypasses MFA, while the web requires MFA."

Additional information from Microsoft:
"I have checked the detailed logs of your login attempts through both the browser and the mobile app in the backend and identified the root cause of the issue.

When you log in through the browser, you can access the app you created in Entra ID. However, when you access it via the mobile app, you are not accessing the app you created. Instead, it accesses 00000002-0000-0000-c000-000000000000 to retrieve user identity information for login."

Use the following configuration for Microsoft Identity Provider:
{
Issuer: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize
Client ID:
Scope: openid profile offline_access user.read
additionalParameters: {prompt: "login" },
redirectUrl:
}
Send a login request from the application.
Attempt to log in using a Microsoft account without MFA enabled.


Environment

"react-native": "^0.71.11",
"react-native-app-auth": "^6.4.3",

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

No branches or pull requests

1 participant