Questions tagged [azure-ad-b2c]

Azure AD B2C is a cloud identity management solution for web and mobile applications targeting your customers (consumers and businesses).

Azure Active Directory B2C

Azure AD B2C is a cloud identity management solution for your web and mobile applications. It is a highly available global service that scales to hundreds of millions of identities. Built on the same enterprise-grade secure platform as Azure AD, Azure AD B2C keeps your applications, your business, and your customers protected.

>> Get started with Azure AD B2C

Features

  • Email-based or username-based local accounts
  • Social identity providers (Facebook, Google, Microsoft and more)
  • Custom identity providers (OpenID Connect, SAML and more)
  • Built-in user journeys (sign up/sign in, edit profile, password reset)
  • Custom user journeys
  • Built-in and custom user attributes
  • Configurable application claims
  • User interface customization
  • Multi-factor authentication

Posting Azure AD B2C questions in Stack Overflow

The following tips will help you get quicker/better answers when posting Azure AD B2C questions:

5577 questions
1
vote
1 answer

Running user flow: localhost refused to connect

I have a blazor application. I use Azure AD B2C for authentication. When I am trying to run a sign in user flow, I get This site can’t be reached localhost refused to connect. Here is my launchSettings.json: { "iisSettings": { …
David Shochet
  • 5,035
  • 11
  • 57
  • 105
1
vote
1 answer

Add Role to Existing User in Azure AD B2C using Graph SDK

We are using GRAPH SDK to manage users In Azure AD B2C. We have been able to create an user account and now want to assign a role to the user. We have referred the documentation but not able to find the way forward. Is there a way we can assign role…
Raju
  • 11
  • 1
1
vote
1 answer

"ClaimsProviderSelection" is not working as expected

I have a user invitation custom policy, user will get an email with a link and that link will have a token. My requirement is I want to show two options to user: Change password Login with Other providers Below is my user…
Alex
  • 734
  • 6
  • 29
1
vote
0 answers

Forgot Username and Forgot Password in Custom Policy

I am new to Azure AD B2C custom policies. I need some guidance on how do we add Forgot Username and Forgot Password hyperlink in custom policy? I have tried with Localization String IDs, but somehow not able to achieve it. Any help will be really…
1
vote
1 answer

API Management Development Portal is not using the latest AAD B2C identity config settings after updating in the Identities blade

I have an APIM instance that was set up initially to use a built in user flow in B2C. The settings look like so: When I update the sign-up policy and the sign-in policy to a new custom policy from B2C, the sign in page continues to use the old…
LeHaine
  • 1,348
  • 1
  • 12
  • 16
1
vote
2 answers

Can I apply MFA to each user in Azure ADB2C?

I used a custom policy to create the login screen. And we want to run MFA on a per user basis. For example, I have two user account.(user1, user2) User 1 wants to log in without using MFA. User 2 applies MFA and wants to log in. Both users then…
Pepe
  • 39
  • 6
1
vote
0 answers

Azure B2C One Time Password redirection

I'm new to azure b2c. I can't figure out why azure b2c gets redirected to a page which is an app outside the b2c environment instead of showing the error when user reaches the OTP retry limit. The OTP retry limit is set to 11 and after that it gets…
1
vote
1 answer

Azure AD B2C, Sendgrid - The requestor's IP Address is not whitelisted

I have integrated Send grid with the Azure AD B2C using Custom policies for sending the OTP codes. https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-sendgrid?pivots=b2c-custom-policy#create-azure-ad-b2c-policy-key The send…
1
vote
1 answer

Azure B2C Login and then navigate back throws error

We have a net core application that uses an Azure B2C sign in flow. When the app starts up, the user is directed to the login page and then redirected to Home/Index on successful login. But, in the browser the user is able to navigate back. When…
John
  • 53
  • 8
1
vote
1 answer

Azure B2C sign in with username?

I'm pretty new working with B2C custom policies, and currently I'm trying to setup an integration with one client using SAML. That client is sending us their employeeId as ID in the SAML payloads. I got an integration working with okta with I'm…
Herberth Gomez
  • 187
  • 1
  • 2
  • 19
1
vote
2 answers

Azure B2C: KMSI feature does not work with custom policy

Our SPA uses Azure B2C and MSAL (React) for user authentication. There are other requirements so we use custom policies instead of predefined user flows. But I struggle to implement Keep Me Signed In (KMSI) feature following these instructions. I…
Svetlana
  • 163
  • 1
  • 15
1
vote
1 answer

How to retrieve the user credentials from Azure AD B2C inside an Azure Function?

I have a solution where the design is like this: Azure API Management --> JWT Policy applied on the endpoint ---> Functions stored on Azure Functions. I need to find a way to retrieve the ObjectID of the caller contained on Azure AD B2C. There is…
Marco Jr
  • 6,496
  • 11
  • 47
  • 86
1
vote
2 answers

How to edit reply URL in Azure B2C user flow

I want to edit the reply URL in my user flow. How can I do this? This is a reset password user-flow. Is this even possible or do I have to create a new user flow from scratch?
1
vote
1 answer

Azure b2c change password How to avoid prompt=login parameter from url

When I clicked on change password in our app . you are redirect to the change password custom policy in b2c.ask for login again if user is already sign in via b2c .how to avoid login process and how to remove prompt=login from url?
Priya Gite
  • 11
  • 1