/loopback-4-with-azure-b2c-authentication

Loopback 4 example using Azure B2C Authentication.

Primary LanguageTypeScript

Loopback 4 with Azure B2C Authentication

LoopBack

Configuration

Open the src\b2c.config.ts file and update the following settings:

const clientID = "INSERT CLIENT ID HERE"; // 00000000-0000-0000-0000-000000000000
const b2cDomainHost = "TENANT.b2clogin.com"; // domainb2c.b2clogin.com
const tenantId = "TENANT.onmicrosoft.com"; // domainb2c.onmicrosoft.com
const policyName = "POLICY NAME"; // B2C_1_policyname