diff --git a/lib/policy_service/application.ex b/lib/policy_service/application.ex index 33d1708..961150b 100644 --- a/lib/policy_service/application.ex +++ b/lib/policy_service/application.ex @@ -15,17 +15,17 @@ defmodule PolicyService.Application do PolicyService.Handlers.SolicitationRequestHandler, PolicyService.Consumers.QuoteTaskConsumer, PolicyService.Consumers.SolicitationTaskConsumer, - # PolicyService.Consumers.PolicyIssuedConsumer, + PolicyService.Consumers.PolicyIssuedConsumer, PolicyService.Projectors.PolicyProjector, PolicyServiceWeb.Telemetry, PolicyService.Repo, {DNSCluster, query: Application.get_env(:policy_service, :dns_cluster_query) || :ignore}, {Phoenix.PubSub, name: PolicyService.PubSub, pool_size: 1}, - {Oidcc.ProviderConfiguration.Worker, - %{ - issuer: Keyword.get(zitadel_config, :issuer), - name: PolicyService.ZitadelProvider - }}, + # {Oidcc.ProviderConfiguration.Worker, + # %{ + # issuer: Keyword.get(zitadel_config, :issuer), + # name: PolicyService.ZitadelProvider + # }}, PolicyServiceWeb.Endpoint ] diff --git a/lib/policy_service_web/router.ex b/lib/policy_service_web/router.ex index 4120746..79f347c 100644 --- a/lib/policy_service_web/router.ex +++ b/lib/policy_service_web/router.ex @@ -26,7 +26,7 @@ defmodule PolicyServiceWeb.Router do get "/openapi", OpenApiSpex.Plug.RenderSpec, [] scope "/v1" do - pipe_through [:authenticated, :authorized] + # pipe_through [:authenticated, :authorized] get "/policies", PolicyController, :index get "/policies/:application_id", PolicyController, :show