Search code examples
azureazure-ad-b2ccallbackurl

Azure AD B2C add parameter in reply url


Is there a way to add a specific value to a reply url (not included in the token) in order to manage a specific workflow. Example, invitation process in which :

  • we call in a sign-in or sign-up policy and we put in the url a parameter a custom key (related to the invitation)
  • if sign-in or sign-up succeed, the reply url will also return the custom key

I don't know if it's possible or another possibility exists...

Thanks in advance


Solution

  • Is there a way to add a specific value to a reply url (not included in the token) in order to manage a specific workflow.

    Please take a look at state parameter. You can use this parameter to send arbitrary data as part of your request and it gets returned back to you in response.

    From the documentation link:

    enter image description here