Files
Stirling-PDF/app
Anthony Stirling 67a9d57cba feat: desktop SaaS authentication integration
Adds platform session bridge architecture for desktop SaaS mode:

Backend (dependency):
- JWT token management improvements (from astirli-jwt-token-management)

Frontend:
- Platform session bridge with stub/shadow pattern
  - Desktop: integrates with Supabase authentication
  - Proprietary/web: stub implementation (returns false)
- Desktop SaaS mode detection and session management
- Token expiry parsing from JWT payload
- Automatic token refresh for desktop SaaS users
- Bypass /me verification in SaaS mode (trusted environment)

Changes:
- springAuthClient: add getTokenExpiry(), desktop SaaS flow
- authService: improve token refresh with Supabase integration
- platformSessionBridge: new architecture for platform-specific auth
- apiClientSetup: SaaS refresh integration

Depends-On: astirli-jwt-token-management
2026-02-16 10:40:22 +00:00
..