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

Azure AD B2C not showing logins for custom app

Currently using Azure AD B2C as our authentication provider and we have a requirement to access logs of all user login activity for our custom application. If I navigate to the B2C portal, Users>Sign-in logs I only see sign ins for Application of…
1
vote
1 answer

Azure B2C - renew session

I have a React app that uses Azure B2C to authenticate users (PKCE flow). There is a requirement to keep the session active as long as the user has some activity. I cannot use "Rolling" for session timeout, because some of the requests are made by…
Michson07
  • 73
  • 1
  • 5
1
vote
2 answers

ADB2C password expiration notification

Is there a way for local ADB2C users to receive password expiration notifications to their email? We are planning to set the DisablePasswordExpiration flag to false, but it's not clear if users will be getting notified that their password is about…
1
vote
1 answer

Azure AD token verification failed , "level":30,"msg":"authentication failed due to: invalid signature"

I am calling backend-api from frontend, for authentication purpose I am using azure-ad onfronted and backend, when I fetch API for first time, request gets authenticated but for next api call, fronted is calling method const…
Sanket Patil
  • 807
  • 1
  • 11
  • 19
1
vote
1 answer

ADB2C and MSAL with separate signup and signin policies causing issues

I'm trying to use ADB2C custom policies with the MSAL.js library on a static web app Our policies are reasonably complex, so we've split the 'signup' into it's own flow, but now I'm having trouble with the handover from signup to signin. From what…
PaulG
  • 13,871
  • 9
  • 56
  • 78
1
vote
1 answer

Azure Active Directory B2C: How to query MS Graph to get a user's alternative security ID?

B2C uses an alternative security ID to uniquely identify users from social accounts. We have a problem where a user enters credentials for a user, but somehow B2C authenticates the user as someone else. I suspect the IDP is returning bad claims…
1
vote
1 answer

What exact token validation is done by Microsoft.Identity.Web’s aspnet core middleware?

I am building an aspenet core application that uses AAD (B2c later on) to authenticate users. I understand that OAuth2 and OpenID Connect JWT tokens must be validated. It is very important. I am going through this code…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
1
vote
0 answers

Azure AD B2C SunCertPathBuilderException: unable to find valid certification path to requested

I followed this tutorial to make a spring boot application and connect it to B2C - https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory-b2c-oidc I can reach the MS…
sudhansh_
  • 125
  • 1
  • 2
  • 14
1
vote
2 answers

How to retrieve a JWT access token from Azure B2C using `NextAuth.js`

my infrastructure is as follows: I have a back-end Web API that uses Azure B2C authentication (respectively via JWT tokens) I have a front-end app written on Next.js and it uses NextAuth.js to manage the authentication. Everything seems ok - I can…
Tony Troeff
  • 338
  • 4
  • 19
1
vote
1 answer

Conditional Access

Our signUp page starts with entering a username and validating the username against the directory. In case of a wrong username attempt, we need to track the IP address of a user and after a certain number of the wrong attempt, we need to disallow…
1
vote
0 answers

Using runtimeArgs --disable-web-security but request still fails: Request had no target IP address space, yet the resource is in address space local

I am trying to access a B2C login page from my localhost VScode using angular 12+ I am getting this error: Request had no target IP address space, yet the resource is in address space 'local' In my launch.json file I have: "runtimeArgs": [ …
1
vote
1 answer

How can I determine if the user has an existing B2C session before proceeding with the user journey?

I want to execute a custom policy for a user, but only if the user has already logged in through the signup_signin policy. Can I use the B2C session state? How can I store a claim in the user's B2C session in during signup_signin, and then access…
Daniel Krasnove
  • 204
  • 3
  • 6
1
vote
0 answers

Having issue with Single Sign On configuration in a custom policy for Azure ADB2C

I have two different redirect URIs in my webapp like localhost:4200 and localhost:4201. Trying to have single-sign-on for these two. Based on this document…
1
vote
0 answers

Authorization on Azure Logic Apps with Azure AD BC2 - Supplied token returns SecurityTokenInvalidSignature

I am using Azure AD BC2 and I'd like to apply authorization on my Logic App. When I execute the supplied URL (https://prod-19.northcentralus.logic.azure.com:443/workflows/{someId}/triggers/manual/paths/invoke?api-version=2016-10-01) via Postman (I…
Marco Jr
  • 6,496
  • 11
  • 47
  • 86
1
vote
1 answer

Migrate Users from one ADB2C to another across 2 different subscription

We want to migrate Users from one ADB2C to another across 2 different subscriptions. There is no option to import/export – what can I do?
Nugalite
  • 11
  • 1
1 2 3
99
100