fix config
All checks were successful
Build and Publish / build-release (push) Successful in 1m15s

This commit is contained in:
2026-05-13 13:21:20 -05:00
parent 20d5e86975
commit ae4ce33acf

View File

@@ -45,6 +45,17 @@ config :commanded_ecto_projections,
config :flop, repo: PolicyService.Repo config :flop, repo: PolicyService.Repo
config :policy_service, :zitadel,
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"),
roles_claim: "urn:zitadel:iam:org:project:#{System.get_env("ZITADEL_PROJECT_ID")}:roles",
required_scopes: [
"openid",
"profile",
"urn:zitadel:iam:org:project:#{System.get_env("ZITADEL_PROJECT_ID")}:roles"
]
# Import environment specific config. This must remain at the bottom # Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above. # of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs" import_config "#{config_env()}.exs"