Skip to main content

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).

46 votes
8 answers
30k views

Authorize By Group in Azure Active Directory B2C

I am trying to figure out how to authorize using groups in Azure Active Directory B2C. I can Authorize via User, for example: [Authorize(Users="Bill")] However, this is not very effective and I see ...
Green_qaue's user avatar
  • 3,613
27 votes
1 answer
15k views

Azure AD B2C - Role management [duplicate]

I have an Asp.NET MVC Application connected with Azure AD B2C. In the Administrator settings I've created an Administrators Group: In my code I would like to use [Authorize(Roles = "Administrator")] ...
DarkWing89's user avatar
18 votes
1 answer
9k views

Which Graph API should be used with Azure AD B2C

We are looking at using Azure AD B2C in an application and I am confused about which package to use when working with Azure AD B2C. This question discusses the difference between the MSAL and ADAL ...
TaintedLemon's user avatar
37 votes
7 answers
31k views

Azure Portal: Bad Request - Request Too Long

I just received the following error when I tried to run a built-in b2c edit policy from portal.azure.com. I have 2 tabs of the portal open. Why am I receiving this error? Bad Request - Request ...
spottedmahn's user avatar
  • 15.6k
9 votes
2 answers
4k views

Why is Redirect URL Fully Qualified in Azure AD B2C?

Why does the redirect URL have to match completely? Wouldn't matching at the domain level be sufficient enough for proper security? What if I had hundreds of paths? example urls: https://...
spottedmahn's user avatar
  • 15.6k
36 votes
1 answer
15k views

What's the difference between Azure AD B2C tenant and normal Azure AD tenant?

I've seen so many people are very confused about what we can do in Azure AD B2C tenant and the difference between a B2C tenant and normal Azure AD tenant. The main questions are: What's the ...
Sa Yang's user avatar
  • 9,284
31 votes
3 answers
26k views

Azure AD B2C self service password reset link doesn't work [closed]

I have been able to properly setup sign-up/sign-in policy for a tenant I'm testing. I have set the Reset Password property to allow everybody to reset their password using their email. Currently the ...
Riz's user avatar
  • 6,546
6 votes
3 answers
9k views

Azure AD B2C - Token validation does not work

I would like to use Azure AD B2C but have several difficulties using it. One problem I have is to validate the signature of the token. First I wanted to validate the token "manually" using ...
martinoss's user avatar
  • 5,448
9 votes
1 answer
11k views

Azure AD B2C pre-populate a custom attribute in the SignUp policy

Does Azure AD B2C support pre-populating a custom attribute in the SignUp Policy when called from the Web application (ASP.Net MVC)? We can create a custom SignUp attribute but we weren't able to ...
DI. Robin Olivaw's user avatar
23 votes
6 answers
31k views

Request Access Token in Postman for Azure AD B2C

How can I request an Access Token in Postman against an Azure AD B2C tenant? I tried taking the url from Run Now in the Azure portal and putting that in the Auth Url but that produces the following ...
spottedmahn's user avatar
  • 15.6k
20 votes
6 answers
7k views

headless authentication Azure AD b2c

I am looking for a way to authenticate a user by username/password in a headless manner for Azure AD b2c. Azure AD b2c is great but we feel the redirects for logins can lead to confusion among ...
Gina Marano's user avatar
  • 1,793
6 votes
1 answer
9k views

Azure AD B2C error - IDX10501: Signature validation failed

I'm having hard times trying to use Azure AD B2C to authenticate My Web API. I'll start with some background I created mobile application which is using Azure AD B2C to authenticate users. I'm ...
MajkeloDev's user avatar
  • 1,661
4 votes
2 answers
4k views

No access token returned for AD B2C user when requesting Microsoft Graph delegated permissions

User Story: Given an ADB2C User, with Global Administrator role and an oid of 01234567-901a-bcde-f012-3456789abcde (not a real oid), I want to be able to log in as that user and retrieve the user ...
Rob Perkins's user avatar
  • 3,118
1 vote
1 answer
2k views

How to set information to Azure AD B2C users after registration?

In my application I have the following scenario: Users first register in the application Using SignUp-SignIn user flow, so at that point the user is created in Azure AD B2C. Then when the users starts ...
Roesmi's user avatar
  • 498
8 votes
1 answer
2k views

Update Display Name in Azure B2C custom policy

We are trying to update the Display Name in a custom Azure B2C policy using a Claims Transformation, but we can't get it to work. The policy executes with no errors, but the display name does not get ...
snowburnt's user avatar

15 30 50 per page
1
2 3 4 5
45