Apply suggestions from code review
parent
8bc8737367
commit
4b30de1c37
|
@ -21,7 +21,9 @@ builder.Services.AddSingleton(new QueueClient(queueConnectionString, "feed-queue
|
|||
builder.Services.AddHttpClient<IFeedClient, FeedClient>();
|
||||
|
||||
// Authentication and authorization-related services
|
||||
// Comment back in if testing authentication
|
||||
// builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);
|
||||
|
||||
builder.Services.AddAuthorizationBuilder().AddPolicy("modify_feeds", policy => policy.RequireScope("API.Access"));
|
||||
|
||||
// OpenAPI and versioning-related services
|
||||
|
|
Loading…
Reference in New Issue