Skip to content

Commit

Permalink
Adjust examples for new .well-known/tenzir-platform endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lava committed Jan 16, 2025
1 parent 41324df commit d238160
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/tenant-manager
4 changes: 4 additions & 0 deletions examples/localdev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ services:
- TENANT_MANAGER_AUTH__ENABLE_SELF_SIGNED=false
- TENANT_MANAGER_AUTH__TRUSTED_AUDIENCES=${TENZIR_PLATFORM_OIDC_TRUSTED_AUDIENCES}
- TENANT_MANAGER_AUTH__ADMIN_FUNCTIONS=${TENZIR_PLATFORM_OIDC_ADMIN_RULES}
- TENANT_MANAGER_OIDC__ISSUER_URL=${TENZIR_PLATFORM_OIDC_PROVIDER_ISSUER_URL}
- TENANT_MANAGER_OIDC__CLI_CLIENT_ID=tenzir-cli
- TENANT_MANAGER_OIDC__NODE_CLIENT_ID=tenzir-node
- TENANT_MANAGER_OIDC__APP_CLIENT_ID=tenzir-app
- STORE__TYPE=${TENZIR_PLATFORM_STORE_TYPE}
- STORE__POSTGRES_URI=postgresql://${TENZIR_PLATFORM_POSTGRES_USER}:${TENZIR_PLATFORM_POSTGRES_PASSWORD}@${TENZIR_PLATFORM_POSTGRES_HOSTNAME}/${TENZIR_PLATFORM_POSTGRES_DB}
# seaweedfs s3 connection
Expand Down
4 changes: 4 additions & 0 deletions examples/tenzir-developers/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ services:
- TENANT_MANAGER_AUTH__ENABLE_SELF_SIGNED=false
- TENANT_MANAGER_AUTH__TRUSTED_AUDIENCES=${TENZIR_PLATFORM_OIDC_TRUSTED_AUDIENCES}
- TENANT_MANAGER_AUTH__ADMIN_FUNCTIONS=${TENZIR_PLATFORM_OIDC_ADMIN_RULES}
- TENANT_MANAGER_OIDC__ISSUER_URL=${TENZIR_PLATFORM_OIDC_PROVIDER_ISSUER_URL}
- TENANT_MANAGER_OIDC__CLI_CLIENT_ID=${TENZIR_PLATFORM_CLI_CLIENT_ID}
- TENANT_MANAGER_OIDC__NODE_CLIENT_ID=${TENZIR_PLATFORM_NODE_CLIENT_ID}
- TENANT_MANAGER_OIDC__APP_CLIENT_ID=${TENZIR_PLATFORM_APP_CLIENT_ID}
- STORE__TYPE=${TENZIR_PLATFORM_STORE_TYPE}
- STORE__POSTGRES_URI=postgresql://${TENZIR_PLATFORM_POSTGRES_USER}:${TENZIR_PLATFORM_POSTGRES_PASSWORD}@${TENZIR_PLATFORM_POSTGRES_HOSTNAME}/${TENZIR_PLATFORM_POSTGRES_DB}
# seaweedfs s3 connection
Expand Down
3 changes: 3 additions & 0 deletions examples/tenzir-developers/env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ TENZIR_PLATFORM_OIDC_ADMIN_RULES='[{"auth_fn":"auth_email_suffix","connection":"
# Specific OIDC Settings for the CLI
TENZIR_PLATFORM_CLI_CLIENT_ID=bkdMIMCPjLwl28J1oU4lAGr7tg107w0s

# Specific OIDC Settings for the Tenzir Node signup
TENZIR_PLATFORM_NODE_CLIENT_ID=bkbYctvS3knaieU3GIGh5aK4opP816uV

# Specific OIDC Settings for the frontend.
# (client secret can be found in 1password under the 'Auth0 Shared Account' entry)
TENZIR_PLATFORM_APP_CLIENT_ID=bTFcQLMzDiHJzxbouREVu6q1LB00vDAq
Expand Down

0 comments on commit d238160

Please sign in to comment.