You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abp 9.0 use swagger invoke post api tip The required antiforgery header value "RequestVerificationToken" is not present
in abp 8.0 swagger invoke post api is ok
swagger set private void ConfigureSwaggerServices(IServiceCollection services, IConfiguration configuration) { services.AddAbpSwaggerGenWithOAuth( configuration["AuthServer:Authority"]!, new Dictionary<string, string> { { "Test", "Test API" } }, options => { options.SwaggerDoc("v1", new OpenApiInfo { Title = "Test API", Version = "v1" }); options.DocInclusionPredicate((docName, description) => true); options.CustomSchemaIds(type => type.FullName); } ); }
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
9.0
User Interface
MVC
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
abp 9.0 use swagger invoke post api tip
The required antiforgery header value "RequestVerificationToken" is not present
in abp 8.0 swagger invoke post api is ok
swagger set
private void ConfigureSwaggerServices(IServiceCollection services, IConfiguration configuration) { services.AddAbpSwaggerGenWithOAuth( configuration["AuthServer:Authority"]!, new Dictionary<string, string> { { "Test", "Test API" } }, options => { options.SwaggerDoc("v1", new OpenApiInfo { Title = "Test API", Version = "v1" }); options.DocInclusionPredicate((docName, description) => true); options.CustomSchemaIds(type => type.FullName); } ); }
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
9.0
User Interface
MVC
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: