Most JavaScript frameworks are not supported by Azure AD B2C.Using more than one version on the same page causes issues. Azure AD B2C uses a specific version of jQuery.When using an external JavaScript file, make sure to use the absolute URL and not a relative URL. You can embed your JavaScript or you can link to external JavaScript files.Don't use JavaScript directly to call Azure AD B2C endpoints.Make sure your RESTful service is secure and uses only the HTTPS protocol.You may need to set your RESTful service CORS to allow client-side HTTP calls.You can call any RESTful service with these considerations:.Use an Azure AD B2C policy to control the order of the UI elements. change the order or hierarchy of Azure AD B2C HTML elements.take a dependency on Azure AD B2C code or comments.For example, SignUpOrSignin.xml.Īdd the ScriptExecution element to the RelyingParty element: įollow these guidelines when you customize the interface of your application using JavaScript: You enable script execution by adding the ScriptExecution element to the RelyingParty element. Urn:com:microsoft:aad:b2c:elements:contract:multifactor:1.2.0 Urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.2.0 Urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:1.2.0 Urn:com:microsoft:aad:b2c:elements:contract:providerselection:1.2.0 Urn:com:microsoft:aad:b2c:elements:contract:globalexception:1.2.0 The following example shows the content definition identifiers and the corresponding DataUri with page contract: The format of the value must contain the word contract: urn:com:microsoft:aad:b2c:elements: contract:page-name:version.
0 Comments
Leave a Reply. |