#Using React or NextJS instead of default UI for selfAsserted profile in B2C Custom policy

1 messages · Page 1 of 1 (latest)

cosmic thunder
#

Hello everyone,

I'm working with an Azure AD B2C custom policy where users log in via a social IDP. After logging in, I need to collect additional information from the users.

To achieve this, I've developed a custom form using NextJS which includes features like a date picker and the option for users to link their account with other social platforms. I intend to store this additional information in the user's profile within Azure AD B2C.

Instead of using the default ContentDefinition's LoadUri, I want to utilize my NextJS form. I tried modifying the custom policy XML to point to my NextJS app's URL, but I'm facing some issues:

State management doesn't seem to be working as expected.
TailwindCSS, which I've used for styling, isn't rendering properly.
Has anyone successfully integrated a custom NextJS form with Azure AD B2C in this manner? I'd appreciate any guidance or suggestions.

Thank you!

weak musk
#

Hi! I can do it.