refactor: implement partial JWT authentication; migrate to reactive spring/mongodb
Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# Environment Configuration Template
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# Copy this file to .env and fill in your actual values
|
||||
# .env is gitignored and will not be committed to version control
|
||||
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# Database Configuration
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# MongoDB connection string
|
||||
# Default: mongodb://localhost:27017/kotlin-api
|
||||
MONGODB_URI=mongodb://localhost:27017/kotlin-api
|
||||
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# JWT Security Configuration
|
||||
# ════════════════════════════════════════════════════════════════════════════════
|
||||
# REQUIRED: Generate a secure base64-encoded secret for JWT token signing
|
||||
# MUST be base64-encoded (your code uses Decoders.BASE64.decode)
|
||||
#
|
||||
# Generate a secure base64-encoded secret (single line, no newlines):
|
||||
# openssl rand -base64 64 | tr -d '\n'
|
||||
#
|
||||
JWT_SECRET=your-base64-encoded-secret-here
|
||||
Reference in New Issue
Block a user