Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 809 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 809 Bytes

azure-b2c-aurelia-example

Secure an Aurelia SPA with Azure Active Directory B2C / MSAL

The explanation of the sample application / setup can be found on my blog.

I you want to run the example backend API with your own B2C directory, you have to adjust the following parameters in Backend/appsettings.json:

  • AzureAdB2C:ClientId - the Application ID
  • AzureAdB2C:Domain - the B2C domain name
  • AzureAdB2C:SignUpSignInPolicyId - the SignUp or SignIn Policy

Furthermore, you also have to change the paramters in the settings.ts file in frontend/src:

  • service - the base URI pointing to your API
  • clientId - the Application ID from the B2C directory
  • authority - authority setting for MSAL