Giter Club home page Giter Club logo

aad_b2c_custom_behavior's Introduction

AAD B2C Custom Behavior

Azure Active Directory B2C Customizing Behavior

Setup

Unfortunately, at this time a lot of the steps are a manual process, once it can be automated I will update the steps to run a script to provision this.

B2C App Registration

Create an app registration: Register an application in Azure Active Directory B2C

Create user flows: Create user flows in Azure Active Directory B2C. NOTE: these are only to get started and will be replaced with the custom flows to be built in this example.

Make note of the following:

  • Application (client) ID
  • Tenant name
  • User Flows names

Secrets

The following configuration is required for Login to work in the DemoClaimsApp. Update the following information with your B2C app details noted in the previous section. Then, open a command prompt in the same directory as the DemoClaimsApp and run the following commands applying your information.

dotnet user-secrets set "AzureAdB2C:Instance" "https://<your_tenant>.b2clogin.com/tfp/";
dotnet user-secrets set "AzureAdB2C:ClientId" "<your_client_id>";
dotnet user-secrets set "AzureAdB2C:CallbackPath" "/signin-oidc";
dotnet user-secrets set "AzureAdB2C:Domain" "<your_tenant>.onmicrosoft.com";
dotnet user-secrets set "AzureAdB2C:SignUpSignInPolicyId" "B2C_1_signup_signin";
dotnet user-secrets set "AzureAdB2C:ResetPasswordPolicyId" "B2C_1_reset_password";
dotnet user-secrets set "AzureAdB2C:EditProfilePolicyId" "B2C_1_edit_profile";

Custom Policies

Follow the steps at Get started with custom policies in Azure Active Directory B2C

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.