chore: remove unused NEXT_PUBLIC_CLIENT_ID/SECRET env vars

The OAuth flow uses grant_type=mobile with a server-issued grant
(app/api/auth/token/route.js); no client_id/client_secret is sent at
runtime. These vars were dead — removed from Dockerfile args/env,
docker-compose, nixpacks, and docs. Also silences the Coolify
'variable not set' build warnings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-06 11:09:19 +03:30
co-authored by Claude Fable 5
parent ab1102ec1c
commit 2fbd24b4aa
5 changed files with 1 additions and 15 deletions
-2
View File
@@ -17,8 +17,6 @@ The dev script forces `HOST=yazd-nobat.localhost` so multi-domain detection work
```env
NEXT_PUBLIC_API_URL=https://api.clinic-pro.ir # Backend API base URL
NEXT_PUBLIC_CLIENT_ID=... # OAuth client ID
NEXT_PUBLIC_CLIENT_SECRET=... # OAuth client secret
DEV_MODE=TRUE # TRUE → blocks all crawlers + noindex
```