question

PrathapGunasekara-4011 avatar image
0 Votes"
PrathapGunasekara-4011 asked ·

Log in to Azure AD B2C without redirecting to b2clogin Microsoft page

I am building a react application which needs to be sign in and sign up users only through the application. I am using AADB2C for user management. I know this question has been asked several times in the past, but I still finding a way to sign up/sign in users using AADB2C without redirecting to Microsoft login page. I found it impossible back in 2 years ago, but I really appreciate your help, If there is any services or packages to overcome this riddle

azure-active-directoryazure-ad-b2cazure-ad-connect
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

my Favorites

0 Votes 0 ·

Do you any details regarding this?

0 Votes 0 ·

1 Answer

amanpreetsingh-msft avatar image
2 Votes"
amanpreetsingh-msft answered ·

@PrathapGunasekara-4011 If you want to redirect to yourdomain.com rather than yourdomain.b2clogin.com during sign-up/sign-in, this feature is currently under private preview and available to few customers (who enrolled for this private preview) as the product team is currently working on it.

There is an active feedback for this feature here: https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/15334317-customer-owned-domains. You can monitor this link for any updates on this feature.


Please "Accept as answer" wherever the information provided helps you to help others in the community.

· 3 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@amanpreetsingh-msft - Thank you for the feedback, but i don't want to redirect to any page, i want to do authentication manually via my application including MFA. I don''t think this is possible.

0 Votes 0 ·

@PrathapGunasekara-4011, Right, B2C doesn't currently support authentication in application context i.e., using client credentials. This is documented here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/application-types#daemonsserver-side-applications.


Please Accept as answer wherever the information provided helps you to help others in the community.

1 Vote 1 ·

Thank you for your time. Really helpful

0 Votes 0 ·