Skip to content

Unhandled Rejection (ClientAuthError): User login is required. For silent calls, request must contain either sid or login_hint #284

Description

@Artyma93

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I described the problem in more detail here - https://stackoverflow.com/questions/64661382/unhandled-rejection-clientautherror-user-login-is-required-for-silent-calls

Any log messages given by the failure

Unhandled Rejection (ClientAuthError): User login is required. For silent calls, request must contain either sid or login_hint

Expected/desired behavior

Get token in AzureAD and request to get data in API. I described the problem in more detail here - https://stackoverflow.com/questions/64661382/unhandled-rejection-clientautherror-user-login-is-required-for-silent-calls

OS and Version?

Windows 10

Library versions

  • react-aad-msal: ^2.3.5
  • msal: ~ 1.3.0

Mention any other details that might be useful

Question

Can you please tell me where in the documentation you can learn about the best practices for getting data such as sid and loginHint using the react-aad-msal library?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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