A React wrapper for Azure AD using the Microsoft Authentication Library (MSAL). The easiest way to integrate AzureAD with your React for authentication.
Describe the bug
Trying to login via a passwordless (aka "Magic Link") flow. User can login, but cannot silently get any access tokens to use as bearer tokens on subsequent API calls. The getAccessToken call is requiring that the user be shown a login screen.
Expected behavior
My expectation is that as the user is already authenticated, they can make API requests, and ultimately gaining access tokens to insert to an Authorization header, without needing to sign in.
Desktop (please complete the following information):
OS: OSX, Windows
Browser: Chrome, Safari, Firefox
Version latest stables, no betas.
Smartphone (please complete the following information):
Library versions
react-aad-msal
:^2.3.5
msal
:^1.3.2
Describe the bug Trying to login via a passwordless (aka "Magic Link") flow. User can login, but cannot silently get any access tokens to use as bearer tokens on subsequent API calls. The
getAccessToken
call is requiring that the user be shown a login screen.Expected behavior My expectation is that as the user is already authenticated, they can make API requests, and ultimately gaining access tokens to insert to an
Authorization
header, without needing to sign in.Desktop (please complete the following information):
Smartphone (please complete the following information):