Skip to content

Passwordless/MagicLink login - cannot obtain access tokens #263

@JohnPaulHarold

Description

@JohnPaulHarold

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 #.

Desktop (please complete the following information):

  • OS: OSX, Windows
  • Browser: Chrome, Safari, Firefox
  • Version latest stables, no betas.

Smartphone (please complete the following information):

  • Device: Apple, Android
  • OS: Android, iOS
  • Browser: latest stable
  • Version: latest stable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions