Skip to content

Latest commit

 

History

History
 
 

progressive-profile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

A B2C IEF Custom Policy - Progressive profile update

Community Help and Support

Use Stack Overflow to get support from the community. Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before. Make sure that your questions or comments are tagged with [azure-ad-b2c]. If you find a bug in the sample, please raise the issue on GitHub Issues. To provide product feedback, visit the Azure Active Directory B2C Feedback page.

Scenario

User will not be prompted for 'Loyalty number' during registration. But will be progressively prompted for it during sign-in.

Prerequisites

How it works

When the user signs in if 'extension_LoyaltyNumber' doesn't exist and if its not a 'newUser' they will be directed to 'SelfAsserted-ProfileUpdate' to update the Loyalty number.

Unit Tests

  1. During registration - Loyalty number will not be prompted.
  2. During sign-in - you will be forced to enter a loyalty number.

Notes

This sample policy is based on LocalAccounts starter pack. All changes are marked with Sample: comment inside the policy XML files. Make the necessary changes in the Sample action required sections.