This commit is contained in:
@@ -42,7 +42,7 @@ config :cors_plug,
|
||||
|
||||
# Zitadel Configuration
|
||||
config :policy_service, :zitadel,
|
||||
issuer: System.get_env("ZITADEL_ISSUER"),
|
||||
issuer: System.get_env("ZITADEL_ISSUER", "https://id.corredorconnect.com"),
|
||||
client_id: System.get_env("ZITADEL_CLIENT_ID"),
|
||||
client_secret: System.get_env("ZITADEL_CLIENT_SECRET"),
|
||||
required_scopes: [
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
};
|
||||
dockerImage = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "policy_service";
|
||||
contents = [ package pkgs.bashInteractive pkgs.busybox pkgs.shadow ];
|
||||
contents = [ package pkgs.bashInteractive pkgs.busybox pkgs.shadow pkgs.cacert ];
|
||||
config = {
|
||||
Cmd = [ "${package}/bin/policy_service" "start" ];
|
||||
};
|
||||
|
||||
@@ -20,11 +20,11 @@ defmodule PolicyService.Application do
|
||||
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
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user