18 lines
718 B
Plaintext
18 lines
718 B
Plaintext
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# Database connection string
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/friendolls_dev?schema=public"
|
|
|
|
# JWT Configuration
|
|
# The expected issuer of the JWT token (usually {KEYCLOAK_AUTH_SERVER_URL}/realms/{KEYCLOAK_REALM})
|
|
JWT_ISSUER=https://your-keycloak-instance.com/auth/realms/your-realm-name
|
|
|
|
# The expected audience in the JWT token (usually the client ID)
|
|
JWT_AUDIENCE=friendolls-api
|
|
|
|
# JWKS URI for fetching public keys to verify JWT signatures
|
|
# Format: {KEYCLOAK_AUTH_SERVER_URL}/realms/{KEYCLOAK_REALM}/protocol/openid-connect/certs
|
|
JWKS_URI=https://your-keycloak-instance.com/auth/realms/your-realm-name/protocol/openid-connect/certs
|