Skip to content

Researching and testing out custom claims and policy in Azure AD B2C using Identity Experience Framework

License

Notifications You must be signed in to change notification settings

scottluskcis/adb2c-custom-claims

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure AD B2C and Custom Claims

Researching and testing out custom claims and policy in Azure AD B2C using Identity Experience Framework

Links used for Research

Other Research to Consider

AADB2C API

Getting Started

Before completing this section be sure to follow all of the steps in Get started with custom policies in Azure Active Directory B2C including all Prerequisites mentioned on that page.

Example API found in source code Contoso.AADB2C.API

Ensure the project will build by cd to this directory and run the following:

dotnet build

Provisioning

To provision an Azure App Service resource to host the API in Azure:

  • Ensure you have Azure CLI installed

  • Update the aadb2c.api.params.json file with the values for your environment

  • Run the command below (replace -g parameter with your resource group name)

    az group deployment create `
    --resource-group <your resource group name> `
    --template-file ops\aadb2c.api.azuredeploy.json `
    --parameters @ops\aadb2c.api.params.json
  • In the directory of the API project, prepare the project to be published

    dotnet publish -c Release -o ./publish
  • In VS Code follow these steps:

    • Right click the .publish folder and select Deploy to Web App...
    • Select the subscription the existing Web App resides
    • Select the Web App from the list
    • Visual Studio Code will ask you if you want to overwrite the existing content. Click Deploy to confirm

Custom Policies

You will need to update the custom policies in Azure AD B2C

About

Researching and testing out custom claims and policy in Azure AD B2C using Identity Experience Framework

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages