0

We are using a azure b2c signup custom policy. While user clicks on a register button from www.domain.com/register SPA to get to azure b2c register page , after successfull registeration we want user to be redirected to a page which is www.domain.com/editprofile

But currently the AzureB2c Signup policy returns user back to where they come from which is www.domain.com/register. is that possible to change it ?

Full Stack Brain
  • 455
  • 1
  • 6
  • 19
  • 1
    It is indeed very possible to change. However, it depends on your custom policy. I would suggest getting the person who created the policy to change it. Custom policies are fairly verbose, complex and easy to make mistakes – TheGeneral Feb 11 '21 at 02:49

1 Answers1

1
  • You will have to set UsePolicyInRedirectUri in Metadata of Custom Policy to true.
  • Under Custom policies, select <You_Policy> and set the Reply URL you want.

Resources:

https://learn.microsoft.com/en-us/azure/active-directory-b2c/oauth2-technical-profile#metadata https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started

Harshita Singh
  • 4,590
  • 1
  • 10
  • 13