add authentication with zitadel
Some checks failed
Build and Publish / build-release (push) Failing after 1m49s
Some checks failed
Build and Publish / build-release (push) Failing after 1m49s
This commit is contained in:
@@ -40,6 +40,18 @@ cors_origin = System.get_env("CORS_ORIGIN", "*")
|
||||
config :cors_plug,
|
||||
origin: cors_origin
|
||||
|
||||
# Zitadel Configuration
|
||||
config :policy_service, :zitadel,
|
||||
issuer: System.get_env("ZITADEL_ISSUER"),
|
||||
client_id: System.get_env("ZITADEL_CLIENT_ID"),
|
||||
client_secret: System.get_env("ZITADEL_CLIENT_SECRET"),
|
||||
required_scopes: [
|
||||
"openid",
|
||||
"profile",
|
||||
"urn:zitadel:iam:user:resourceowner",
|
||||
"urn:zitadel:iam:org:projects:roles"
|
||||
]
|
||||
|
||||
# ## Using releases
|
||||
#
|
||||
# If you use `mix release`, you need to explicitly enable the server
|
||||
|
||||
Reference in New Issue
Block a user