Skip to content

Commit 4f6c170

Browse files
Update user-management/src/Stickerlandia.UserManagement.Api/Configurations/AuthorizeOperationFilter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 191f3e0 commit 4f6c170

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user-management/src/Stickerlandia.UserManagement.Api/Configurations/AuthorizeOperationFilter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ public void Apply(OpenApiOperation operation, OperationFilterContext context)
3030

3131
var oauth2SecurityScheme = new OpenApiSecurityScheme()
3232
{
33-
Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "OAuth2" },
33+
Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "oauth2" },
3434
};
3535

3636

3737
operation.Security.Add(new OpenApiSecurityRequirement()
3838
{
39-
[oauth2SecurityScheme] = new[] { "OAuth2" }
39+
[oauth2SecurityScheme] = new[] { "oauth2" }
4040
});
4141
}
4242
}

0 commit comments

Comments
 (0)