https://github.com/cdennig/azure-b2c-aurelia-example
Secure an Aurelia Single Page App with Azure Active Directory B2C / MSAL
https://github.com/cdennig/azure-b2c-aurelia-example
aurelia azure azure-ad-b2c js msal semantic-ui
Last synced: 2 months ago
JSON representation
Secure an Aurelia Single Page App with Azure Active Directory B2C / MSAL
- Host: GitHub
- URL: https://github.com/cdennig/azure-b2c-aurelia-example
- Owner: cdennig
- License: mit
- Archived: true
- Created: 2017-09-06T11:40:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-07T08:57:37.000Z (about 8 years ago)
- Last Synced: 2025-04-02T21:25:02.761Z (6 months ago)
- Topics: aurelia, azure, azure-ad-b2c, js, msal, semantic-ui
- Language: TypeScript
- Homepage:
- Size: 1.17 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://chrisdennig.me/2017/09/06/secure-an-aurelia-single-page-app-with-azure-active-directory-b2c-msal/).**
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 PolicyFurthermore, 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