Closed AmitKulkarni9 closed 3 years ago
You bet. Some APIs (auth code flow and interactive auth) naturally support 2FA during the interaction. It is more about what your app is, and what pattern it would use. You can probably find some sample from this "map".
Thanks Ray. Can we get the token for 2MFA user having Password and then enter OTP without user interaction through MSAL ? End-to-end automation.
Regards, Amit
In a sense, the "Desktop app" in the "map" is guiding user to sign in through browser, during which process the end user could be prompted to input password and complete 2FA.
Perhaps you can try first choose your app's scenario from the map, and then we discuss whether/how the corresponding sample does (not?) meet your requirement.
Can we acquire a token for 2FA authentication