windowMode
= 'REDIRECT', the user will be redirected to options.redirectUri
with the result after logging in.windowMode
= 'POPUP', the popup will close and the promise resolved when the user finishes the request. No extra options are required.redirectUri
option, make sure that the SDK and the AuthenticationResult
handling is also present on the page you redirect to.