/B2C-IEF-Custom-Policies

Azure AD B2C Identity Experience Framework Custom Policy examples

Primary LanguageC#

B2C IEF Custom Policy example scenarios

Azure AD B2C Identity Experience Framework Custom Policy examples for various scenarios.

Disclaimer

The sample policies in this repo are developed and managed by the open-source community in GitHub. This policy is not part of Azure AD B2C product and it's not supported under any Microsoft standard support program or service. The policy is provided AS IS without warranty of any kind.

Usage

To use these examples in your own AAD B2C tenant, you will need to make the following changes:

  1. Follow the guidance to setup the required keys here.

  2. Register the required Application Registrations here.

  3. Update the login-NonInteractive technical profile in the TrustframeworkExtensions file as noted here.

  4. Register an Application Registration to manage any Extension Attributes (schema extensions) within AAD B2C as noted here.

  5. Update the AAD-Common technical profile in the TrustFrameworkBase file as noted here.

  6. Update the TenantId parameter in all files to match your B2C Tenant, in the format something.onmicrosoft.com.

  7. Create an AAD B2C Application Registration. Choose to include a Web API and add https://jwt.ms as a reply url.

  8. Upload and Test your policies via the AAD B2C Blade at portal.azure.com as noted here.

Examples

Troubleshooting

Find guidance here to help troubleshoot your policies.

Miscellaneous

Use the VSCode Extension to help develop your policies here.