Skip to content

Commit 0c92b93

Browse files
committed
Configured BackOfficeSecurityRequirementsOperationFilter to allow use of management API.
1 parent 54bcbb5 commit 0c92b93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Umbraco.Cms.Integrations.Commerce.Shopify.Core/ShopifyComposer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Umbraco.Cms.Core.DependencyInjection;
66
using Umbraco.Cms.Core.Composing;
77
using Umbraco.Cms.Integrations.Commerce.Shopify.Core.Configuration;
8+
using Umbraco.Cms.Integrations.Commerce.Shopify.Core.Api.Configuration;
89

910
namespace Umbraco.Cms.Integrations.Commerce.Shopify.Core
1011
{
@@ -38,6 +39,7 @@ public void Compose(IUmbracoBuilder builder)
3839
Description = $"Describes the {Constants.ManagementApi.ApiTitle} available for handling Shopify product(s) and configuration."
3940
});
4041

42+
options.OperationFilter<BackOfficeSecurityRequirementsOperationFilter>();
4143
options.CustomOperationIds(e => $"{e.ActionDescriptor.RouteValues["action"]}");
4244
});
4345
}

0 commit comments

Comments
 (0)