React Native B2C auth using react-native-msal

Anton Nikonov 1 Reputation point
2022-10-24T12:33:21.663+00:00

I'm trying to implement auth using react-native-msal. I am getting an error, how can I solve this?

Error initializing the pca, check your config. [Error: Error Domain=MSALErrorDomain Code=-50000 "(null)" UserInfo={MSALErrorDescriptionKey=Non Microsoft authority is not supported yet in MSAL, MSALInternalErrorCodeKey=-42008}]

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,665 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,086 Reputation points Microsoft Employee
    2022-11-04T21:30:03.803+00:00

    Hi @Anton Nikonov , please refer to this thread as it has a similar issue. Your error is "Null" meaning something is missing in your project. I would initialize a new project or reinstall react. Please let me know if you have any more info and I can help you further.

    Best,
    James

    0 comments No comments