first commit
This commit is contained in:
15
.env.example
Normal file
15
.env.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# Postgres
|
||||
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/sistema_auth?schema=public"
|
||||
DIRECT_DATABASE_URL="postgresql://postgres:postgres@localhost:5432/sistema_auth?schema=public"
|
||||
|
||||
# JWT contract
|
||||
JWT_ISSUER="https://auth.local"
|
||||
JWT_AUDIENCE="internal-apis"
|
||||
JWT_ACCESS_TTL_SEC="900"
|
||||
JWT_REFRESH_TTL_SEC="604800"
|
||||
JWT_KID="auth-key-1"
|
||||
JWT_PRIVATE_KEY_PEM="<replace-with-escaped-pem>"
|
||||
JWT_PUBLIC_KEY_PEM="<replace-with-escaped-pem>"
|
||||
|
||||
# Optional hardening
|
||||
REFRESH_TOKEN_PEPPER="change-me"
|
||||
Reference in New Issue
Block a user