azure-ad-b2c

ASP.NET Core API returning 401 on call from React client

℡╲_俬逩灬. 提交于 2020-02-04 02:55:38
问题 I'm working on a brand new ASP.NET Core 2.1 SPA app with React/Redux front end. I've implemented jwt authentication which gets its token from Azure AD B2C. When I analyze the network tab for my API call to the backend, I see that token is placed in the header -- see below: Here's the code for my fetch call: import { fetchOptionsGet, fetchOptionsPost, parseJSON } from '../../utils/fetch/fetch-options'; export const getData = () => { return (dispatch) => fetch("/api/accounts/test",

Custom Template in Azure B2C doesn't work in IE11 when JavaScript is enabled

半腔热情 提交于 2020-02-04 01:23:10
问题 I have a SignIn V2 policy in Azure Active Directory B2C I also enabled JavaScript Because I use it to manipulate some elements in the form. This configuration works well in Google Chrome, but whenever I try to run it in Internet Explorer 11, I get SCRIPT1002: Syntax error In the console, and the login button doesn't respond. This happens when JavaScript is enabled. When I disable it, the page works in IE11 (But my manipulations don't). Has anyone encountered this problem before? 回答1: I found

Is it possible to get Azure AD B2C to include the aud in calls to custom claims REST API?

血红的双手。 提交于 2020-02-04 01:20:08
问题 I setup my Azure AD B2C custom claims REST API as described at https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-custom-rest-api-netfw and that works as described. I'd like to use the same API for multiple applications rather than building one API endpoint for each app (and having to replicate most of the XML configuration). Is it possible to get Azure B2C to include the aud value when it hits the API so I can provide the claims that apply to the app asking for

Hybrid authentication scenario - Azure AD B2C and Azure AD

こ雲淡風輕ζ 提交于 2020-02-01 04:25:32
问题 I have this scenario where we have to authenticate corporate users via Azure AD, but the external users via Azure AD B2C - all from the same login screen. There are a few web applications which will share this capability. The applications come from various technology stacks, ranging from .Net to Java-Spring + Angular 2. What is your recommended approach for this? Apologies, if this question has already been asked and answered, but couldn't find much guidance on this. Will MSAL library solve

Hybrid authentication scenario - Azure AD B2C and Azure AD

谁都会走 提交于 2020-02-01 04:24:07
问题 I have this scenario where we have to authenticate corporate users via Azure AD, but the external users via Azure AD B2C - all from the same login screen. There are a few web applications which will share this capability. The applications come from various technology stacks, ranging from .Net to Java-Spring + Angular 2. What is your recommended approach for this? Apologies, if this question has already been asked and answered, but couldn't find much guidance on this. Will MSAL library solve

Multi-Tenant Azure AD Auth in Azure AD B2C with Custom Policies

怎甘沉沦 提交于 2020-01-28 10:08:54
问题 I am trying to use Azure AD Auth in Azure AD B2C using the /common Azure AD enpoint. According to How to sign in any Azure Active Directory (AD) user using the multi-tenant application pattern, there needs to be a mechanism to either: Allow multiple issuers, or Specify a list of issuers b2c can validate against. I do not see any possible setting in the custom policies XML that would allow this. I was able to get Azure AD auth created successfully in my TrustFrameworkExtensions.xml file, just

Multi-Tenant Azure AD Auth in Azure AD B2C with Custom Policies

感情迁移 提交于 2020-01-28 10:06:48
问题 I am trying to use Azure AD Auth in Azure AD B2C using the /common Azure AD enpoint. According to How to sign in any Azure Active Directory (AD) user using the multi-tenant application pattern, there needs to be a mechanism to either: Allow multiple issuers, or Specify a list of issuers b2c can validate against. I do not see any possible setting in the custom policies XML that would allow this. I was able to get Azure AD auth created successfully in my TrustFrameworkExtensions.xml file, just

Multi-Tenant Azure AD Auth in Azure AD B2C with Custom Policies

旧城冷巷雨未停 提交于 2020-01-28 10:06:37
问题 I am trying to use Azure AD Auth in Azure AD B2C using the /common Azure AD enpoint. According to How to sign in any Azure Active Directory (AD) user using the multi-tenant application pattern, there needs to be a mechanism to either: Allow multiple issuers, or Specify a list of issuers b2c can validate against. I do not see any possible setting in the custom policies XML that would allow this. I was able to get Azure AD auth created successfully in my TrustFrameworkExtensions.xml file, just