mirror of
https://github.com/btouchard/ackify.git
synced 2026-04-26 17:18:36 -05:00
feat: add silent OAuth login with auto-authentication
- Add ACKIFY_OAUTH_AUTO_LOGIN config flag (default: false) - Implement /api/auth/check endpoint for session validation - Add silent login flow with prompt=none OAuth parameter - Implement localStorage-based retry prevention (5min cooldown) - Add comprehensive OAuth flow debugging logs - Handle OAuth errors gracefully (login_required, interaction_required) - Update templates with silent login JavaScript - Add login button in header when not authenticated - Fix /health endpoint documentation (remove /healthz alias) - Extend tests to include autoLogin parameter
This commit is contained in:
@@ -14,6 +14,7 @@ POSTGRES_DB=ackify
|
||||
ACKIFY_OAUTH_CLIENT_ID=your_oauth_client_id
|
||||
ACKIFY_OAUTH_CLIENT_SECRET=your_oauth_client_secret
|
||||
ACKIFY_OAUTH_ALLOWED_DOMAIN=your-organization.com
|
||||
ACKIFY_OAUTH_AUTO_LOGIN=false
|
||||
|
||||
# OAuth2 Provider Configuration
|
||||
# Use ACKIFY_OAUTH_PROVIDER to configure popular providers automatically:
|
||||
|
||||
Reference in New Issue
Block a user