azure-ad-b2c

Creating a single instance of a class within a Vue application

主宰稳场 提交于 2020-06-27 10:15:09
问题 I'm new to Vue and I'm struggling to wrap my head around how to implement what seems to me like a good case for a global variable or singleton. The background is that I'm using Azure AD B2C for authentication with the MSAL library. MSAL requires a single instance of the Msal.UserAgentApplication to be declared and then shared through the application. What I'm struggling with is how to declare that instance somewhere central and then access it from each component including the router. At the

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

▼魔方 西西 提交于 2020-06-27 02:55:04
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

懵懂的女人 提交于 2020-06-27 02:53:16
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

筅森魡賤 提交于 2020-06-27 02:51:08
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

Azure AD B2C - CORS Policy Issue for Multi App Services

不羁岁月 提交于 2020-06-21 05:39:23
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. immayankmodi is looking for an answer from a reputable source : Need to fix above issue on Azure. I've 2 projects: Project1 is main app ( localhost:4016 ) Project2 is child app ( localhost:4055 ) and sharing authorization token cookies between 2 projects. It's working fine locally but not working while hosted on Azure. Getting following error: Access to XMLHttpRequest at 'https://devplatform

Azure AD B2C: Clients must send a client_secret when redeeming a confidential grant

生来就可爱ヽ(ⅴ<●) 提交于 2020-06-17 14:15:57
问题 I try to setup authentification for an Angular app using authorization code and Azure AD B2C (oidc-client on client side), but I'm getting these errors from Angular: After looking in B2C audit logs, I found this error message: Clients must send a client_secret when redeeming a confidential grant. Here's my client side configuration: const settings = { stsAuthority: 'https://supportodqqcdev.b2clogin.com/supportodqqcDev.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1

Client Credential Gran Type Not Support with a Custom B2C Policy

安稳与你 提交于 2020-06-13 04:05:02
问题 I am trying to generate an access token from our policy but I am getting this error. AADB2C90086: The supplied grant_type [client_credentials] is not supported. This is a sample postman request POST /{tenant}/oauth2/token?p=B2C_1A_SignUpOrSignInWithAAD HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache grant_type=client_credentials&client_id={client_id}&resource=https%3A%2F%2F{app_url}&client_secret={client_secret} but it works

Client Credential Gran Type Not Support with a Custom B2C Policy

萝らか妹 提交于 2020-06-13 04:03:59
问题 I am trying to generate an access token from our policy but I am getting this error. AADB2C90086: The supplied grant_type [client_credentials] is not supported. This is a sample postman request POST /{tenant}/oauth2/token?p=B2C_1A_SignUpOrSignInWithAAD HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache grant_type=client_credentials&client_id={client_id}&resource=https%3A%2F%2F{app_url}&client_secret={client_secret} but it works

Configure Azure AD B2C as Auth Provider in Salesforce

前提是你 提交于 2020-06-01 07:27:06
问题 I am trying to configure Azure AD B2C as auth provider to Salesforce. I followed the instructions in http://salesforce.vidyard.com/watch/kcgTXQytUb6INIs2g3faKg (instead of google used Azure AD B2C). When I click on the test-only initialization URL I get the following error My B2C set up is very basic. I just have an email provider and an out-of-the-box sign-in sign-up policy. Any help will be greatly appreciated. 回答1: I'm late to the party but I wanted to post here in case anyone else can use

B2C is returning “The claims provider response exceeds the allowable time to live”

泪湿孤枕 提交于 2020-06-01 05:53:25
问题 I've configured an ADFS as a SAML identity provider by following this, I got it working but since 2 days it is giving an exception "The claims provider response exceeds the allowable time to live". I can't find documentation about that and I'm stuck right now I could make work Google authentication with this but I'm still stuck with the ADFS 来源: https://stackoverflow.com/questions/61877239/b2c-is-returning-the-claims-provider-response-exceeds-the-allowable-time-to-liv