react-aad icon indicating copy to clipboard operation
react-aad copied to clipboard

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

Open Artyma93 opened this issue 5 years ago • 0 comments

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?

Artyma93 avatar Nov 05 '20 09:11 Artyma93