I'm trying to do sign-in and sign-up using Azure ad B2C in my project. For this I have created some user policies, and I am using a custom HTML for my sign up. My requirement is to execute some JavaScript after my sign-up page loads.
I have enabled JavaScript settings in Properties. Still I'm unable to find the scripts that I have placed in the HTML. Scripts are removed when the server loads the page, but if I run the option "Run userflow" in policies I am able to find the script and execute it. Are there some other settings that need to be changed or is this JavaScript enabling for custom policies only?
Policy properties: