wonderful world
wonderful world

Reputation: 11599

What is the URL to use for inviting the users through email links to sign-up in Azure AD B2C?

I have an Azure AD B2C account and I want to invite few people to sign-up though invitations only. Currently the sign-up site is here.

Upvotes: 1

Views: 245

Answers (1)

Md Farid Uddin Kiron
Md Farid Uddin Kiron

Reputation: 22457

Seems you are trying to get the sign-up URL for your user. Alright let's get started :)

  1. What URL should I send to the user to sign-up?

You can get your sign-up URL from azure portal. Follow the below steps to get your sign-up URL

Step:1

Go to your azure B2C Tenant and click on User flows (policies) like below screen shot.

enter image description here

Step:2 You can create your new sign-up policy or click on your exiting sign-up policy. See the screen shot below.

enter image description here

Step:3

Run your sign-up policy by clicking on Run user flow button which shown on below picture.

enter image description here

Step:4

Once you click on Run user flow you would get following window. Just copy Run user flow endpoint this URL you have to send to your user for sign-up

enter image description here

Step:5

As you seen when user click on this URL they would shown below sign-up page. enter image description here

  1. Is there a way hide the field like Country in the sign-up form but takes the value from the invitation URL?

Yes you can do it in a very simple way. Just while creating your sign-up flow you would seen 4. User attributes and claims see below screen shot:

enter image description here

click on show more you will be show a new window as you seen there are two row Collect attribute and Return claim check what you want to collect and need not to check what you want to hide. As I have check Country because I want to collect this information from from user and want hide in claims.

But for Display Name both I want to collect and return in claims. See the screen shot below:

enter image description here

Hope you understand. If you still have any problem feel free to share. Thanks and happy coding!

Upvotes: 3

Related Questions