Welcome to the Customer Portal Azure B2C Client

This page will allow you to test some of the capabilities of Azure B2C.

Currently, you are on a SPA page, which means that everything is handled by the browser.

If you click the sign in button in the top right corner, Azure B2C will open a combined sign in and sign up flow.

During sign up you will be asked to provide three "account identifiers". These are sent to a API to retrieve the account id. If could be e.g. VAT code and Fiscal Code.

If you do not want to sign up, you can login using james@smith.com, password: Test1234.

Loading environment ...

You are now signed in

To inspect the content of the access token, please use jwt.io.


        
        
        
      
            {
              "iss": "https://shvedevadb2c.b2clogin.com/bbd63cef-60e5-449a-8c8a-60b631a7fb50/v2.0/",
              "exp": 1643734649,
              "nbf": 1643731049,
              "aud": "8819fa23-3349-4d1f-b3e0-6f1909efce9e",
              "sub": "61d90ee3-6610-4912-82ee-35cd498f1bd4",
              "group_scopes": [
                "guest:/business-units/IT-LG/accounts/1000416371",
                "guest:/business-units/IT-LG/accounts/1000416368",
                "owner:/business-units/IT-LG/accounts/1000416365",
                "owner:/business-units/IT-LG/accounts/1000416352"
              ],
              "tid": "bbd63cef-60e5-449a-8c8a-60b631a7fb50",
              "nonce": "292168d9-9c7f-4712-97e3-b922c5909993",
              "scp": "customer-portal-api customer-portal-sitecore customer-portal-identity-api",
              "azp": "f8e31985-0282-4ceb-895d-4c5e605d5fbc",
              "ver": "1.0",
              "iat": 1643731049
            }
          
Notice that the web api has been registered in Azure B2C and assigned the guid bfd04a38-0d69-4d10-86ea-b98de52a0fde. Hence the weird looking audience. The sub claim uniquely identifies the user. The roles are formatter like this: {scp}:{role}:/business-units/{businessUnitId}/accounts/{accountId}