Microsoft
MS-600 · Question #203
You have a single-tenant single-page application (SPA). You need to authenticate by using the Microsoft Authentication Library (MSAL) for JavaScript v2.0. The solution must minimize user…
The correct answer is C. Call aquireTokenSilent and fall back to handleRedirectPromise. See the full explanation below for the reasoning.
Question
You have a single-tenant single-page application (SPA). You need to authenticate by using the Microsoft Authentication Library (MSAL) for JavaScript v2.0. The solution must minimize user interactions during the sign-in process. What should you do?
Options
- ACall login and fall back to acquireTokenRedirect.
- BCall acquireTokenRedirect and fall back to aquireTokenSilent.
- CCall aquireTokenSilent and fall back to handleRedirectPromise.
- DCall loginPopup and fall back to acquireTokenPopup.
How the community answered
(63 responses)- A6% (4)
- B14% (9)
- C76% (48)
- D3% (2)
Community Discussion
No community discussion yet for this question.