Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Aug 19, 2024
1 parent 81c0950 commit 6b6f383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tests/Middleware/AuthorizationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private TestServer CreateServer(Action<IServiceCollection>? configureServices =
.AddAutoSchema<Chat.Schema.Query>()
.AddErrorInfoProvider(new CustomErrorInfoProvider(this))
.AddSystemTextJson());
services.AddRouting();
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options => {
options.TokenValidationParameters.ValidateIssuerSigningKey = false;
Expand Down

0 comments on commit 6b6f383

Please sign in to comment.