Open Closed

Azure Active Directory B2C #8425


0
admin@syntaq created

Can you provide any guidance on integration with Azure Active Directory B2C https://docs.microsoft.com/en-us/azure/active-directory-b2c/overview and AspNetZero.

I understand you will not havea solution out of the bag but some pointers could save many hours.

Thanks


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi admin@syntaq

    You can take a look at https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Social-Logins#openid-connect-login. Once you fill OpenId configuration, users can authenticate via OpenId connect.

  • 0
    admin@syntaq created

    Thanks,

    have configured the settings as below. The OpenId connect button appears on the login screen but nothing happens. (I replaced the values in the json..).

    No errors in the console, no messages in the Audit log. The login button just seems to have a link to /Account/Login#

    "OpenId": {
      "IsEnabled": "true",
      "Authority": "https://[TenantName].b2clogin.com/tfp/[TenantID]/b2c_1_signin/v2.0/",
      "LoginUrl": "https://[TenantName].b2clogin.com/tfp/[TenantName].onmicrosoft.com/B2C_1_signupsignin1/oauth2/v2.0/authorize",
      "ClientId": "[ClientId]",
      "ClientSecret": "[ClientSecret]",
      "ValidateIssuer": "false",
      "ClaimsMapping": [
        {
          "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier",
          "key": "http://schemas.microsoft.com/identity/claims/objectidentifier"
        }
      ]
    }
    
  • 0
    admin@syntaq created

    This has been solved