oidc-client
returns the following error at UserManager.userManager.signinRedirectCallback()
:
Here is my config:
authority: 'https://<tenant_name>.b2clogin.com/<tenant_name>.onmicrosoft.com/<policy>/v2.0',
client_id: '<client_id>',
redirect_uri: `http://localhost:4200/login-callback`,
response_type: 'code',
scope: 'openid profile',
Also:
- Before the error, I am able to login properly using the Azure AD B2C login page.
- When I use the endpoint v1 (by removing the "v2.0" suffix from the authority) it's working as expected.
- I use the "Sign up and sign in" (no custom policy here).