diff --git a/gateways/KonSoft.InternalGateway/Program.cs b/gateways/KonSoft.InternalGateway/Program.cs index 4e8499b..c929e00 100644 --- a/gateways/KonSoft.InternalGateway/Program.cs +++ b/gateways/KonSoft.InternalGateway/Program.cs @@ -22,11 +22,7 @@ try .UseAutofac() .UseSerilog(); - builder.Services.AddAbpSwaggerGenWithOAuth(builder.Configuration["AuthServer:Authority"]!, - new Dictionary - { - { "Clean", "Clean API" } - }, options => + builder.Services.AddAbpSwaggerGenWithOidc(builder.Configuration["AuthServer:Authority"]!, setupAction: options => { options.SwaggerDoc("v1", new OpenApiInfo {