hi
Can you compare the config in the angular example?
https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/NG/angular/src/environments/environment.ts
hi
, I am successfully receiving loginInfo from SignInManager.GetExternalLoginInfoAsync() except ProviderKey value.
Can you share a brand new project that can reproduce the problem, liming.ma@volosoft.com
hi
I think the Ocelot
doesn't support the wildcard
feature.
https://github.com/ThreeMammals/Ocelot/issues/480
hi
context.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "BookPro";
})
.AddMicrosoftIdentityWebApp(
microsoftIdentityOptions =>
{
microsoftIdentityOptions.Instance = "https://exceegobtoc.xxx.com/";
microsoftIdentityOptions.Domain = "xxx.onmicrosoft.com";
microsoftIdentityOptions.TenantId = "xxx";
microsoftIdentityOptions.ClientId = "xxx";
microsoftIdentityOptions.ClientSecret = "xxx";
microsoftIdentityOptions.CallbackPath = "/signin-oidc-demo";
microsoftIdentityOptions.SignedOutCallbackPath = "/signout-callback-oidc";
microsoftIdentityOptions.SignUpSignInPolicyId = "xxx";
},
cookieAuthenticationOptions =>
{
},
OpenIdConnectDefaults.AuthenticationScheme,
CookieAuthenticationDefaults.AuthenticationScheme,
false,
null);
context.Services.PostConfigure<OpenIdConnectOptions>(OpenIdConnectDefaults.AuthenticationScheme, options =>
{
options.SignInScheme = IdentityConstants.ExternalScheme;
options.ClaimActions.Add(new AddClaims());
});
class AddClaims : ClaimAction
{
public AddClaims()
: base(null, null)
{
}
public override void Run(JsonElement userData, ClaimsIdentity identity, string issuer)
{
var sub = identity.Claims.FirstOrDefault(x => x.Type == "sub");
if (sub != null)
{
identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, sub.Value));
}
var emails = identity.Claims.FirstOrDefault(x => x.Type == "emails");
if (emails != null)
{
identity.AddClaim(new Claim(ClaimTypes.Email, emails.Value));
}
}
}
``
hi
Can you share a sample project? liming.ma@volosoft.com
OK, I will check it asap.
hi
https://github.com/abpframework/abp/issues/13983
hi
Please share your azure configuration info and test account&password to liming.ma@volosoft.com
hi
Can you check the ajax response of GetListAsync
in your angular app?