Public preview: JavaScript and page contracts in Azure Active Directory B2C policies


Azure Active Directory_COLOR

Requested multiple times Microsoft has now released the usage of Javascript in Azure AD B2C custom policies.

Public preview: JavaScript and page contracts in Azure Active Directory B2C policies

This currently only works with custom policies from the Identity Experience Framework.

You need to select a different DataUri in your ContentDefinition by selecting an immutable package that won’t change during it’s lifetime.

See: https://docs.microsoft.com/en-us/azure/active-directory-b2c/page-contract

After that you can add Javascript to your content, see the following page for details and some samples:

https://docs.microsoft.com/en-us/azure/active-directory-b2c/javascript-samples

Advertisements

Author: Peter Stapf

Senior Consultant Identity and Access

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.