Sign Up user flow for Azure B2C #3195
-
I'm working on Blazor server app with Azure B2C, using Microsoft.Identity.Web.UI to support sign in and sign up. It's all working with the combined Sign In and Sign Up user flow, but I find this really awkward for new users, because I can't provide a Sign Up button that takes them directly to the sign up portion of the user flow (I think it's really confusing for a user to click Sign Up, end up on a Sign In page, and then again have to click the little link at the bottom to sign up). I've built a separate Sign Up flow, but it doesn't seem to me that it's possible to invoke this user flow with the current code. Is this correct? Or could I get some guidance? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@TravisTroyer, if this is a new app, I'd recommend you look at Entra external IDs, not B2C. |
Beta Was this translation helpful? Give feedback.
-
@jmprieur I appreciate the suggestion, but I am working on a SASS and need the ability for users to sign up on their own. I was able to work around my issue by creating my own AccountController, similar to the AccountController in Microsoft.Identity.Web.UI, and adding a SignUp route that mimics the SignIn route, using the sign up flow. I based it on the following pull request: This seems to be working well. I think it'd be great if that pull request would have made it into the product. |
Beta Was this translation helpful? Give feedback.
@jmprieur I appreciate the suggestion, but I am working on a SASS and need the ability for users to sign up on their own.
I was able to work around my issue by creating my own AccountController, similar to the AccountController in Microsoft.Identity.Web.UI, and adding a SignUp route that mimics the SignIn route, using the sign up flow. I based it on the following pull request:
#968
This seems to be working well. I think it'd be great if that pull request would have made it into the product.