mirror of
https://github.com/wahyd4/passkey-auth.git
synced 2026-08-08 20:15:44 +10:00
27 lines
604 B
YAML
27 lines
604 B
YAML
server:
|
|
port: "8080"
|
|
host: "0.0.0.0"
|
|
|
|
webauthn:
|
|
rp_display_name: "Passkey Auth"
|
|
rp_id: "localhost"
|
|
rp_origins:
|
|
- "http://localhost:8080"
|
|
|
|
database:
|
|
path: "passkey-auth.db"
|
|
|
|
cors:
|
|
allowed_origins:
|
|
- "*"
|
|
|
|
auth:
|
|
session_secret: "change-me-in-production"
|
|
require_approval: true
|
|
# Email allowlist - leave empty to allow any email
|
|
allowed_emails:
|
|
# - "admin@example.com"
|
|
# - "user@example.com"
|
|
# Admin email - user with this email will be auto-approved and can access admin panel
|
|
admin_email: "" # Set this to your admin email or use ADMIN_EMAIL environment variable
|