### Description I'm trying to use this plugin with Azure B2C in my Angular project, but haven't been able to make it work. If anyone here has done this already, some help would be much appreciated. I get sent to the Azure Policy where I can sign in, but on redirect I get 2 types of errors: 1. If I set responseType: "code token": ERR_GENERAL: See client logs. It might be CORS. Status text: "Access to XMLHttpRequest at 'https://{tenant}b2c.b2clogin.com/{tenant}b2c.onmicrosoft.com/oauth2/v2.0/token' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource." 2. If I set responseType: "token": "OAuth rejected Error: ERR_NO_AUTHORIZATION_CODE" ### Capacitor version: <!-- Provide the version of Capacitor and related installed dependencies. You can use `npx cap doctor` for the output from the root directory of your project. --> ``` @capacitor/cli 2.0.1 @capacitor/ios 2.0.1 @capacitor/core 2.0.1 ``` ### Library version: <!-- Please remove all items that are not relevant. --> - 2.0.0 ### OAuth Provider: <!-- Please remove all items that are not relevant. --> - Azure AD - Azure App Registration ### Your Plugin Configuration <!-- Without secret stuff (of course). --> ```typescript { appId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", authorizationBaseUrl: "https://{tenant}b2c.b2clogin.com/{tenant}b2c.onmicrosoft.com/oauth2/v2.0/authorize", accessTokenEndpoint: "https://{tenant}b2c.b2clogin.com/{tenant}b2c.onmicrosoft.com/oauth2/v2.0/token", //"https://{tenant}b2c.b2clogin.com/{tenant}b2c.onmicrosoft.com/B2C_1_SignUpAndSignIn/oauth2/v2.0/{authorize/token}", scope: "openid https://{tenant}b2c.onmicrosoft.com/capacitor-api/demo.read", responseType: "code token", web: { redirectUrl: "http://localhost:8100/auth", }, ios: { responseType: "code token", redirectUrl: "msalxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx://auth" }, additionalParameters: { p: "B2C_1_B2C_1_SignUpAndSignIn", response_mode: "query" } } ``` Thanks!