api-management-developer-portal
api-management-developer-portal copied to clipboard
Add Sign-up Button for Oauth in the In-Built Widgets
We are using Azure Managed Developer portal. We are using Custom Azure B2C policy for Sign-in and Sign-up process, and for the Sign-In we are able to use in-built widget Sign-in Button: Oauth
for user Sign-In. But for Sign-Up, there is no in-built button. Due to this we have to create a custom widget for the Sign-up button which takes user to the Sign-up page according to Azure B2C policy.
It is suggested to have Sign-up Button: Oauth
as well so that we dont have to create a Custom widget handle this use case.
We looked into the code and found that we just need to reuse the runAadB2CUserFlow function in aadService class . Only thing different for the Sign-up process would be userFlow i.e B2C_1_signup in Sign-up case.