How can I configure Microsoft Account identity provider in Azure AD B2C to redirect to my URL

458 Views Asked by At

I'm trying to set up web app authentication using active directory B2C, but when I use Microsoft Account identity provider (or any other except mail) in Azure callback URL is set to "https://(domain).b2clogin.com/(domain).onmicrosoft.com/oauth2/authresp" and I cannot change it. Can you please help me what should I do to get a response with a token to my page which is on a different domain?enter image description here

1

There are 1 best solutions below

0
On

You can not change the callback URL since it is used for auth response by design. enter image description here

However, when you click run user flow, you will need to provide the B2C application(Under Azure AD B2C) and reply url(This is the url which you can identify).

enter image description here

After sign in, you will redirect to the url you configured before.

enter image description here