partition by org_id and add auth
All checks were successful
Build and Publish / build-release (push) Successful in 3m7s
All checks were successful
Build and Publish / build-release (push) Successful in 3m7s
This commit is contained in:
@@ -71,3 +71,14 @@ config :phoenix, :stacktrace_depth, 20
|
||||
config :phoenix, :plug_init_mode, :runtime
|
||||
|
||||
config :open_api_spex, :cache_adapter, OpenApiSpex.Plug.NoneCache
|
||||
|
||||
config :customer_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"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user