Closed sandeep859 closed 6 months ago
Hello @sandeep859 as of right now, we don't allow users to inject code to the Developer Portal directly. Only using iframes for security reasons. We're exploring options how this could be done but this functionality is not ready for now.
For managed portal, please create a support request using azure help and support center
We are creating a Custom Widget for SignUp and SignIn button, and we need to use them with the managed portal. We followed this document for the custom widget.
On the click of the widget button, the user should be redirected to the Azure B2C login or Sign-up page. We are using MSAL library for the redirect flow. Since custom widget is created as iFrame, we are getting this error on the click of sign-in or sign-up buttons:
Screen shot shown at the end.
Is it possible to create a widget without iFrame option so that when we click on the buttons, B2C login page opens in the entire window instead of iFrame?
Note: We are migrating from self hosted developer portal to managed developer portal. We didn't see this issue when we added widgets in the self hosted developer portal and we had been using them for 2 years. We cannot use in-built signIn and signUp buttons due to custom workflow.