This commit is contained in:
@@ -40,3 +40,15 @@ config :open_api_spex, :cache_adapter, OpenApiSpex.Plug.NoneCache
|
||||
config :workload_service,
|
||||
provider_service_url: "http://localhost:4002",
|
||||
solicitation_service_url: "http://localhost:8081"
|
||||
|
||||
config :workload_service, :zitadel,
|
||||
issuer: System.get_env("ZITADEL_ISSUER", "https://id.corredorconect.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",
|
||||
"urn:zitadel:iam:org:project:#{System.get_env("ZITADEL_PROJECT_ID")}:aud"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user