From 706b71eb40367aa79f2f1fbeb7b2801e8ba342ab Mon Sep 17 00:00:00 2001 From: aaldebs99 Date: Thu, 30 Oct 2025 22:10:52 +0000 Subject: [PATCH] Feat(docs): add OIDC samples to env example --- .env.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.env.example b/.env.example index 3be5a30..a810dfc 100644 --- a/.env.example +++ b/.env.example @@ -12,6 +12,19 @@ DATABASE_URL=postgresql://readur:readur_password@localhost:5432/readur JWT_SECRET=your-super-secret-jwt-key-change-this-in-production SERVER_ADDRESS=0.0.0.0:8000 +# Authentication Configuration +# Enable/disable local username/password authentication (default: true) +# When disabled, only OIDC authentication is available +ALLOW_LOCAL_AUTH=true + +# OIDC Configuration (optional - see docs/oidc-setup.md for details) +# OIDC_ENABLED=true +# OIDC_CLIENT_ID=your-client-id +# OIDC_CLIENT_SECRET=your-client-secret +# OIDC_ISSUER_URL=https://accounts.google.com +# OIDC_REDIRECT_URI=https://your-domain.com/api/auth/oidc/callback +# OIDC_AUTO_REGISTER=true + # File Storage & Upload UPLOAD_PATH=./uploads ALLOWED_FILE_TYPES=pdf,png,jpg,jpeg,tiff,bmp,gif,txt,rtf,doc,docx