feat: implement custom login system with direct authentication
All checks were successful
Build And Push Image / docker (push) Successful in 2m51s

- Add custom login page with username/password form and SSO fallback
- Implement direct login API endpoint with security features
- Add forgot password functionality and email notifications
- Create guest middleware for authentication routing
- Update Keycloak configuration and add cookie domain settings
- Add security utilities for rate limiting and validation
- Include comprehensive documentation for custom login implementation
This commit is contained in:
2025-08-07 03:43:25 +02:00
parent 308c58e924
commit 2c2c0f5c33
11 changed files with 1290 additions and 46 deletions

View File

@@ -5,10 +5,13 @@ NUXT_PORT=6060
NUXT_HOST=0.0.0.0
# Keycloak Configuration
NUXT_KEYCLOAK_ISSUER=https://auth.monacousa.org/realms/monacousa-portal
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://monacousa.org/auth/callback
NUXT_KEYCLOAK_CALLBACK_URL=https://portal.monacousa.org/auth/callback
# Cookie Configuration
COOKIE_DOMAIN=.monacousa.org
# NocoDB Configuration
NUXT_NOCODB_URL=https://db.monacousa.org
@@ -29,4 +32,4 @@ NUXT_ENCRYPTION_KEY=your-32-character-encryption-key-here
# Public Configuration
NUXT_PUBLIC_DOMAIN=monacousa.org
#
#