azure-ad-b2c

Why are claims being flagged as not supported in my custom policy?

强颜欢笑 提交于 2020-12-30 02:32:28
问题 I'm switching our app from using built-in user flows to custom policies so that we can enable some features that we need like account linking and REST integration. My TrustFrameworkBase.xml and TrustFrameworkExtensions.xml policy files both upload fine. But when I try uploading the relying party file I'm hitting a validation error that I can't explain: Validation failed: 2 validation error(s) found in policy "B2C_1A_SIGNUP" of tenant "HyperProofLocalDev.onmicrosoft.com".Input Claim

Automated endpoint testing protected by Azure AD B2C

旧时模样 提交于 2020-12-30 02:30:47
问题 I have a WebAPI application which authenticates users with their Azure B2C token they have acquired from signing in with their credentials. I need to write some tests against my WebAPI now but I'm not sure how I can automate acquiring a token given that I need to sign in on https://login.microsoftonline.com ... Short of using selenium or something to sign in - is there another alternative for acquiring a token to use? 回答1: I assume that you want to get token with non-interactive. I think you

User.Identity.Name is null after federated Azure AD login with aspnetcore 2.2

元气小坏坏 提交于 2020-12-25 04:48:06
问题 I've followed AzureAD aspnetcore sample as closely as possible to try and implement Azure AD authentication in our aspnetcore 2.2 webapp. I am able to login successfully using Azure AD. However, the user's name is not being displayed AFTER login. https://github.com/Azure-Samples/active-directory-b2c-dotnetcore-webapp This value should be read in the view from the User.Identity.Name property. On further inspection, I can see that the principal claims are being correctly returned to the

Does Microsoft Graph API support change notifications with Azure AD B2C?

ぐ巨炮叔叔 提交于 2020-12-14 11:41:54
问题 I'm trying to get change notifications for users to work with my application connected to Azure AD B2C. I followed the following tutorial and the subscription is created successfully but I never get any change notification: https://docs.microsoft.com/en-us/learn/modules/msgraph-changenotifications-trackchanges/1-introduction After a bit of research I found some statements mentioning that B2C is not supported by Graph API: https://docs.microsoft.com/en-us/graph/webhooks#azure-ad-resource

Does Microsoft Graph API support change notifications with Azure AD B2C?

人盡茶涼 提交于 2020-12-14 11:39:54
问题 I'm trying to get change notifications for users to work with my application connected to Azure AD B2C. I followed the following tutorial and the subscription is created successfully but I never get any change notification: https://docs.microsoft.com/en-us/learn/modules/msgraph-changenotifications-trackchanges/1-introduction After a bit of research I found some statements mentioning that B2C is not supported by Graph API: https://docs.microsoft.com/en-us/graph/webhooks#azure-ad-resource

How to extract state parameter from OpenIdConnect Token response in .Net Core MVC

▼魔方 西西 提交于 2020-12-12 12:00:27
问题 We are using Azure b2c to handle our logins on our .net core MVC site. We would like to use the optional state parameter to hold onto some data/a value between the initial request to the site (this value would likely be in a querystring param) which is then sent off to b2c to login, and the successfully logged in return back to the site. OpenIDConnect allow the setting of this state value in the request, and will pass it back with the token response. It appears that setting the value is

Azure B2C disable Sign up of a SignUpAndSignIn policy

两盒软妹~` 提交于 2020-12-12 06:11:53
问题 I need some advice on Customising Azure B2C. I've been looking at both portal based customisation and the Identity Experience Framework. My key requirement is to have full control of the look and feel of the login experience. However, users must not be able sign up as this is handled by a separate business process. I understand that I cannot use a simple SignIn policy as B2C doesn't provide the required level of customisation. I'm unable to find any solid documentation that describe how/if

Azure B2C disable Sign up of a SignUpAndSignIn policy

☆樱花仙子☆ 提交于 2020-12-12 06:11:33
问题 I need some advice on Customising Azure B2C. I've been looking at both portal based customisation and the Identity Experience Framework. My key requirement is to have full control of the look and feel of the login experience. However, users must not be able sign up as this is handled by a separate business process. I understand that I cannot use a simple SignIn policy as B2C doesn't provide the required level of customisation. I'm unable to find any solid documentation that describe how/if

Azure AD B2C Authentication with Azure AD Multi-tenant

六眼飞鱼酱① 提交于 2020-12-08 07:02:34
问题 I have configured Azure AD multi-tenant autentication by following this article: https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=applications The authentication worked on friday last week, but now its suddenly failing. I tried to re-register the application in Azure AD with new App Id and new App secret that was added in both ends. Error i'm getting: Sorry, but we’re having trouble with signing you in. AADSTS9002325: Proof Key

Azure AD B2C Authentication with Azure AD Multi-tenant

亡梦爱人 提交于 2020-12-08 07:01:36
问题 I have configured Azure AD multi-tenant autentication by following this article: https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=applications The authentication worked on friday last week, but now its suddenly failing. I tried to re-register the application in Azure AD with new App Id and new App secret that was added in both ends. Error i'm getting: Sorry, but we’re having trouble with signing you in. AADSTS9002325: Proof Key