---
owner: gmikcon
status: active
last_reviewed: 2026-09-05
review_interval: 90d
confidence: medium
source_of_truth: live-http-observation
---

# gnexus-auth

Central identity service for the Gnexus platform: identification, authorization, profiles, sessions, audit, and integrations for client services.

## Deployment

- **Host**: 192.168.1.167 (not yet documented as a separate host inventory item)
- **Public URL**: https://auth.gnexus.space/
- **Framework**: Laravel (PHP) — observed via session cookie naming (`gnexus-auth-session`, `XSRF-TOKEN`) and CSRF token form fields
- **Web server**: nginx/1.18.0 (Ubuntu)
- **Proxy mapping**: `auth.gnexus.space` -> `http://192.168.1.167` on `internal-nginx-proxy`

## Session Configuration (observed 2026-09-05)

- Session cookie name: `gnexus-auth-session`, HttpOnly, SameSite=Lax
- Cookie Max-Age: **7200 seconds = 2 hours (120 minutes)** — matches Laravel `lifetime` in `config/session.php`
- XSRF-TOKEN cookie also expires after 7200 seconds (consistent)
- Session cookie is encrypted (Laravel encrypted cookie value with MAC)

## Operations

- Root URL serves the app shell (Sign in / Registration pages)
- `/health` returns 404 on the nginx vhost at 192.168.1.167 (no health endpoint observed)
- Source repository: GitBucket (requires authentication to view)

## Unknowns

- SSH credentials for 192.168.1.167 are stored in gnexus-creds under secret id gnauth-gnbook-ssh
- Exact `config/session.php` values not read directly (inferred from live cookie headers)
- Session driver (database/redis/file) not confirmed
