remove oidc for now
All checks were successful
Build and Publish / build-release (push) Successful in 2m20s
All checks were successful
Build and Publish / build-release (push) Successful in 2m20s
This commit is contained in:
@@ -15,17 +15,17 @@ defmodule PolicyService.Application do
|
|||||||
PolicyService.Handlers.SolicitationRequestHandler,
|
PolicyService.Handlers.SolicitationRequestHandler,
|
||||||
PolicyService.Consumers.QuoteTaskConsumer,
|
PolicyService.Consumers.QuoteTaskConsumer,
|
||||||
PolicyService.Consumers.SolicitationTaskConsumer,
|
PolicyService.Consumers.SolicitationTaskConsumer,
|
||||||
# PolicyService.Consumers.PolicyIssuedConsumer,
|
PolicyService.Consumers.PolicyIssuedConsumer,
|
||||||
PolicyService.Projectors.PolicyProjector,
|
PolicyService.Projectors.PolicyProjector,
|
||||||
PolicyServiceWeb.Telemetry,
|
PolicyServiceWeb.Telemetry,
|
||||||
PolicyService.Repo,
|
PolicyService.Repo,
|
||||||
{DNSCluster, query: Application.get_env(:policy_service, :dns_cluster_query) || :ignore},
|
{DNSCluster, query: Application.get_env(:policy_service, :dns_cluster_query) || :ignore},
|
||||||
{Phoenix.PubSub, name: PolicyService.PubSub, pool_size: 1},
|
{Phoenix.PubSub, name: PolicyService.PubSub, pool_size: 1},
|
||||||
{Oidcc.ProviderConfiguration.Worker,
|
# {Oidcc.ProviderConfiguration.Worker,
|
||||||
%{
|
# %{
|
||||||
issuer: Keyword.get(zitadel_config, :issuer),
|
# issuer: Keyword.get(zitadel_config, :issuer),
|
||||||
name: PolicyService.ZitadelProvider
|
# name: PolicyService.ZitadelProvider
|
||||||
}},
|
# }},
|
||||||
PolicyServiceWeb.Endpoint
|
PolicyServiceWeb.Endpoint
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ defmodule PolicyServiceWeb.Router do
|
|||||||
get "/openapi", OpenApiSpex.Plug.RenderSpec, []
|
get "/openapi", OpenApiSpex.Plug.RenderSpec, []
|
||||||
|
|
||||||
scope "/v1" do
|
scope "/v1" do
|
||||||
pipe_through [:authenticated, :authorized]
|
# pipe_through [:authenticated, :authorized]
|
||||||
|
|
||||||
get "/policies", PolicyController, :index
|
get "/policies", PolicyController, :index
|
||||||
get "/policies/:application_id", PolicyController, :show
|
get "/policies/:application_id", PolicyController, :show
|
||||||
|
|||||||
Reference in New Issue
Block a user