Fixed bug about loggerFactory and ConfigureAuthService() at MArketing.API Startup.cs
This commit is contained in:
parent
c9ad364aa5
commit
3f6f598e8a
@ -206,7 +206,7 @@
|
|||||||
ConfigureEventBus(app);
|
ConfigureEventBus(app);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ConfigureAuthService(IServiceCollection services, ILoggerFactory loggerFactory)
|
private void ConfigureAuthService(IServiceCollection services)
|
||||||
{
|
{
|
||||||
// prevent from mapping "sub" claim to nameidentifier.
|
// prevent from mapping "sub" claim to nameidentifier.
|
||||||
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
|
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user