JamesRandall / react-azure-adb2c

Looking for a maintainer - if interested please get in touch in issue #13
MIT License
45 stars 58 forks source link

Uncaught (in promise) UnsupportedAuthorityValidation #35

Open DineshLt93 opened 4 years ago

DineshLt93 commented 4 years ago

Hi

I have used the below-given sample credentials its working fine and redirected to the Microsoft login screen.

b2cauth.initialize({ instance: 'https://login.microsoftonline.com/tfp/', tenant: 'peachitad.onmicrosoft.com', signInPolicy: 'B2C_1_react_signup', applicationId: '702f55a3-72fd-4da1-a22b-1dc82e70a049', cacheLocation: 'sessionStorage', scopes: ['https://peachitad.onmicrosoft.com/api/user_impersonation'], redirectUri: 'http://localhost:3000', postLogoutRedirectUri: window.location.origin, });

But I have changed into my own Azure AD B2C credential am getting the Uncaught (in promise) UnsupportedAuthorityValidation error. Kindly give me any suggestions.

carlosdiaz commented 4 years ago

Same thing here, were you able to fix this? Thanks in advance.