Fix CSP errors - migrate inline JS to stimulus controllers. Add a URL for applications so users can discover them
This commit is contained in:
24
.env.example
24
.env.example
@@ -19,6 +19,30 @@ SMTP_ENABLE_STARTTLS=true
|
||||
CLINCH_HOST=http://localhost:3000
|
||||
CLINCH_FROM_EMAIL=noreply@example.com
|
||||
|
||||
# WebAuthn / Passkey Configuration
|
||||
# Required for passkeys to work in production (HTTPS required)
|
||||
#
|
||||
# CLINCH_RP_ID is the Relying Party Identifier - the domain that owns the passkeys
|
||||
# - If your site is auth.example.com, use either "auth.example.com" or "example.com"
|
||||
# - Using parent domain (e.g., "example.com") allows passkeys to work across all subdomains
|
||||
# - Using subdomain (e.g., "auth.example.com") restricts passkeys to that specific subdomain
|
||||
#
|
||||
# CLINCH_RP_NAME is shown to users when creating/using passkeys
|
||||
#
|
||||
# Examples:
|
||||
# For https://auth.example.com:
|
||||
# CLINCH_HOST=https://auth.example.com
|
||||
# CLINCH_RP_ID=example.com
|
||||
# CLINCH_RP_NAME="Example Company"
|
||||
#
|
||||
# For https://sso.mycompany.com:
|
||||
# CLINCH_HOST=https://sso.mycompany.com
|
||||
# CLINCH_RP_ID=mycompany.com
|
||||
# CLINCH_RP_NAME="My Company Identity"
|
||||
#
|
||||
CLINCH_RP_ID=localhost
|
||||
CLINCH_RP_NAME="Clinch Identity Provider"
|
||||
|
||||
# DNS Rebinding Protection Configuration
|
||||
# Set to service name (e.g., 'clinch') if running in same Docker compose as Caddy
|
||||
CLINCH_DOCKER_SERVICE_NAME=
|
||||
|
||||
Reference in New Issue
Block a user