Files
monacousa-portal/.env.example
Matt c84442433f
All checks were successful
Build And Push Image / docker (push) Successful in 2m55s
Refactor password reset to use dedicated Keycloak admin client
- Add Keycloak admin credentials configuration to environment variables
- Extract Keycloak admin operations into reusable utility module
- Refactor forgot-password endpoint to use new admin client utility
- Add documentation for Keycloak custom login implementation
- Add password reset fix summary documentation

This improves code organization by separating admin operations from
business logic and provides proper admin credentials for Keycloak
API operations instead of using regular client credentials.
2025-08-07 17:50:09 +02:00

40 lines
1.1 KiB
Plaintext

# Example Environment
# Server Configuration
NUXT_PORT=6060
NUXT_HOST=0.0.0.0
# Keycloak Configuration
NUXT_KEYCLOAK_ISSUER=https://auth.monacousa.org/realms/monacousa
NUXT_KEYCLOAK_CLIENT_ID=monacousa-portal
NUXT_KEYCLOAK_CLIENT_SECRET=your-keycloak-client-secret
NUXT_KEYCLOAK_CALLBACK_URL=https://portal.monacousa.org/auth/callback
# Keycloak Admin Configuration (for password reset and admin operations)
NUXT_KEYCLOAK_ADMIN_CLIENT_ID=admin-cli
NUXT_KEYCLOAK_ADMIN_CLIENT_SECRET=your-admin-cli-client-secret
# Cookie Configuration
COOKIE_DOMAIN=.monacousa.org
# NocoDB Configuration
NUXT_NOCODB_URL=https://db.monacousa.org
NUXT_NOCODB_TOKEN=your-nocodb-token
NUXT_NOCODB_BASE_ID=your-nocodb-base-id
# MinIO Configuration
NUXT_MINIO_ENDPOINT=s3.monacousa.org
NUXT_MINIO_PORT=443
NUXT_MINIO_USE_SSL=true
NUXT_MINIO_ACCESS_KEY=your-minio-access-key
NUXT_MINIO_SECRET_KEY=your-minio-secret-key
NUXT_MINIO_BUCKET_NAME=monacousa-portal
# Security Configuration
NUXT_SESSION_SECRET=your-48-character-session-secret-key-here
NUXT_ENCRYPTION_KEY=your-32-character-encryption-key-here
# Public Configuration
NUXT_PUBLIC_DOMAIN=monacousa.org
#