|
|
|
@ -102,7 +102,6 @@ namespace IdentityService.Host |
|
|
|
app.UseVirtualFiles(); |
|
|
|
app.UseRouting(); |
|
|
|
app.UseAuthentication(); |
|
|
|
app.UseAbpRequestLocalization(); //TODO: localization?
|
|
|
|
|
|
|
|
if (MsDemoConsts.IsMultiTenancyEnabled) |
|
|
|
{ |
|
|
|
@ -123,6 +122,7 @@ namespace IdentityService.Host |
|
|
|
currentPrincipalAccessor.Principal.AddIdentity(new ClaimsIdentity(mapClaims.Select(p => new Claim(map[p.Type], p.Value, p.ValueType, p.Issuer)))); |
|
|
|
await next(); |
|
|
|
}); |
|
|
|
app.UseAbpRequestLocalization(); //TODO: localization?
|
|
|
|
app.UseSwagger(); |
|
|
|
app.UseSwaggerUI(options => |
|
|
|
{ |
|
|
|
|