azure-ad-b2c

Azure active directory limit registration according to an email address pool or pre register account

China☆狼群 提交于 2019-12-18 17:28:28
问题 In azure active-directory B2C, is there a way to limit registration according to an email address pool? Or can i pre register account, then user would have to choose password or use google or facebook account? 回答1: There is no built-in mechanism in Azure AD B2C to limit registration to a specific set of users / emails . You can request this via the Azure AD B2C feedback forum. However, you can implement this yourself by: Having a custom attribute to determine whether a user is "approved" or

Azure active directory limit registration according to an email address pool or pre register account

ⅰ亾dé卋堺 提交于 2019-12-18 17:27:43
问题 In azure active-directory B2C, is there a way to limit registration according to an email address pool? Or can i pre register account, then user would have to choose password or use google or facebook account? 回答1: There is no built-in mechanism in Azure AD B2C to limit registration to a specific set of users / emails . You can request this via the Azure AD B2C feedback forum. However, you can implement this yourself by: Having a custom attribute to determine whether a user is "approved" or

Using Azure B2C with an MVC app gets into infinite loop resulting with Bad Request - Request Too Long Http 400 error

百般思念 提交于 2019-12-18 09:27:53
问题 So I've built and published a new website that uses Azure B2C as the authentication mechanism. What I found was that the login and sign would work fine for a while. But after a period of time, say couple of hours after visiting the site post deployment, I would find that on login or signup, after successful authentication, instead of being redirected back to the return url set up in the b2c configuration, my browser would get caught between an infinite loop between the post authentication

Authenticating as a Service with Azure AD B2C

蓝咒 提交于 2019-12-18 08:34:50
问题 We have setup our application using Azure AD B2C and OAuth, this works fine, however I am trying to authenticate as a service in order to make service to service calls. I am slightly new to this, but I have followed some courses on Pluralsight on how to do this on "normal" Azure Active Directory and I can get it to work, but following the same principles with B2C does not work. I have this quick console app: class Program { private static string clientId = ConfigurationManager.AppSettings[

Authenticating as a Service with Azure AD B2C

混江龙づ霸主 提交于 2019-12-18 08:34:42
问题 We have setup our application using Azure AD B2C and OAuth, this works fine, however I am trying to authenticate as a service in order to make service to service calls. I am slightly new to this, but I have followed some courses on Pluralsight on how to do this on "normal" Azure Active Directory and I can get it to work, but following the same principles with B2C does not work. I have this quick console app: class Program { private static string clientId = ConfigurationManager.AppSettings[

How do i include email in the redirect to AZURE AD B2C

不羁的心 提交于 2019-12-18 07:02:30
问题 I have set up an Azure B2C tenant and used custom policies to add azure ad as an IDP so that users can sign up with their domain accounts. I can build a custom page where ask them for their email and then redirect them to the proper policy(one for work domain accounts and another for personal emails), so that they do not have to make the choice between work and personal emails. The problem is that I do not want to make the user enter the email once again. Is there a way/option to do this? I

How do i include email in the redirect to AZURE AD B2C

瘦欲@ 提交于 2019-12-18 07:02:23
问题 I have set up an Azure B2C tenant and used custom policies to add azure ad as an IDP so that users can sign up with their domain accounts. I can build a custom page where ask them for their email and then redirect them to the proper policy(one for work domain accounts and another for personal emails), so that they do not have to make the choice between work and personal emails. The problem is that I do not want to make the user enter the email once again. Is there a way/option to do this? I

Azure AD B2C - Token validation does not work

旧巷老猫 提交于 2019-12-18 04:30:11
问题 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 jwt.io. According to the Microsoft Docs, validating the signature should work like this: Your app can use the kid claim in the JWT header to select the public key in the JSON document that is used to sign a particular token. It can then perform signature validation by using the correct public key and the

Change default picture - registration flow - AZURE - ADB2C

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-17 21:16:43
问题 In the ADB2C user registration flow you have an picture on the left & the form on the right. Is there an easy way to change the picture on the left? I don't want to redesign the whole page. 回答1: Full customization which includes your own HTML/CSS is available for all the Azure AD B2C user flows including the "sign-up or sign-in policies" which offers a combined - registration and login - policy. The "sign-in" policy type is the only one that offers the ability to customize via the "company

Azure AD B2C error - IDX10501: Signature validation failed

落爺英雄遲暮 提交于 2019-12-17 20:22:15
问题 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 creating a WebView which display this url: User is asked to login to azure ad, if the login data is successfull i'm receiving a response containing the access token - this part went smooth, everything works properly. Now i want to create backend Web Api. I created ASP NET Core Web application which