Commit Graph

43 Commits

Author SHA1 Message Date
karmaking
efec0fda9f revert session secret 2026-01-31 10:06:01 +01:00
karmaking
db129fd8c2 add def value to session pw 2026-01-30 23:33:31 +01:00
simonredfern
8c8630c547 VITE_OBP_SERVER_SESSION_PASSWORD corrected name 2026-01-14 13:00:46 +01:00
simonredfern
d1fb24898c cleanup multi provider 2026-01-14 13:00:46 +01:00
simonredfern
0e8e7df8d5 remove emojis 2026-01-14 13:00:46 +01:00
simonredfern
5cb5cfc229 use plain express 4 with cleanup 2026-01-14 13:00:45 +01:00
simonredfern
f754b4fde6 use plain express 3 2026-01-14 13:00:45 +01:00
simonredfern
aa2e192da9 use plain express 2 2026-01-14 13:00:45 +01:00
simonredfern
e34b939a0e can login again 2026-01-14 13:00:45 +01:00
simonredfern
0eace070f9 Add multi-OIDC provider controllers and update app initialization
- Create OAuth2ProvidersController to list available providers
- Update OAuth2ConnectController to support provider parameter
- Update OAuth2CallbackController to handle multi-provider callbacks
- Update app.ts to initialize OAuth2ProviderManager on startup
- Maintain backward compatibility with legacy single-provider mode
- Add health monitoring for all providers (60s intervals)
2026-01-14 13:00:45 +01:00
simonredfern
85aa76a71f session cookie name 2025-12-19 16:01:14 +01:00
simonredfern
6030965947 redis session cache key prefix 2025-12-19 16:01:14 +01:00
simonredfern
0b4825fc7c OIDC checking / retrying 2 2025-12-14 11:15:35 +01:00
simonredfern
cd9ba264ec OIDC checking / retrying 2025-12-14 11:04:14 +01:00
simonredfern
ca923f7b5a commitID 2025-12-12 10:32:14 +01:00
simonredfern
37c2688fb5 ES modules 2025-12-11 20:44:07 +01:00
simonredfern
23a1615dcb trying compiler options CommonJS 2025-12-11 16:04:35 +01:00
simonredfern
b0d927c1e1 showing proper OBP error message instead of squashing them 2025-12-03 21:50:56 +01:00
simonredfern
056171388f OAuth2/OIDC 2025-12-02 14:26:19 +01:00
simonredfern
d14fb57005 OAuth1 to OAuth2 2025-11-30 10:11:51 +01:00
simonredfern
b2df3a9791 Phase 2: Integrate OAuth2 into application
Application Integration:
- Update server/app.ts to initialize OAuth2Service on startup
  * Conditional initialization based on VITE_USE_OAUTH2 flag
  * OIDC discovery document fetching
  * Comprehensive error handling and logging
  * Graceful fallback if OIDC provider unavailable

UserController Updates:
- Support dual authentication (OAuth 1.0a and OAuth2)
- OAuth2 user session detection and retrieval
- Automatic token refresh when access token expires
- Unified user data format for both auth methods
- Enhanced logout to clear both OAuth 1.0a and OAuth2 sessions
- Comprehensive logging for debugging

Features:
- Seamless switching between auth methods via feature flag
- Backward compatibility maintained
- Automatic token refresh before expiry
- Session cleanup on logout
- Error handling with fallback to empty response

Next phase: Update frontend components for OAuth2 login flow
2025-11-29 19:54:58 +01:00
nemo
a98dc346e8 Tests WIP 2025-02-10 10:58:51 +00:00
Marko Milić
aab04015f6 feature/Add error handling in case of git commit feature 2024-12-23 13:49:10 +01:00
Marko Milić
38884de649 feature/Add commit id info 2024-12-05 11:17:30 +01:00
Marko Milić
77f5651fc6 feature/Add VITE_OBP_REDIS_USERNAME env property 2024-10-17 11:17:20 +02:00
Marko Milić
054279f63c feature/Add support to API Explorer II in order to access password protected Redis server 2024-10-14 09:40:03 +02:00
Marko Milić
87e7c61100 feature/Add logging regarding Redis - 2 2024-10-10 12:59:36 +02:00
Marko Milić
4605c374aa feature/Add logging regarding Redis 2024-10-10 12:52:14 +02:00
Marko Milić
8ee8e7ca8f Merge remote-tracking branch 'upstream/develop' into develop 2024-06-04 09:08:57 +02:00
tawoe
6cdb40ca5a update copyright notice 2024-05-14 17:10:19 +02:00
tawoe
31980f38f3 update copyright notice 2024-05-14 13:41:52 +02:00
Marko Milić
41a5da19f5 docfix/Enhance the redme file regarding the build process 2024-05-09 10:49:16 +02:00
Marko Milić
0d5175b405 docfix/Rename VITE_OBP_EXPLORER_HOST to VITE_OBP_API_EXPLORER_HOST 2024-05-08 16:55:30 +02:00
Marko Milić
fc2af5b001 bugfix/Enable server works in production mode 2024-05-08 16:30:25 +02:00
Marko Milić
26c6799b2e feature/Add VITE_OBP_REDIS_URL props 2024-05-07 18:06:51 +02:00
Marko Milić
e2c1d3a36b refactor/Improve log message 2024-02-14 11:18:34 +01:00
Marko Milić
22f6715273 feature/Add trust proxy in production environment 2023-12-14 16:36:44 +01:00
Marko Milić
86d627d30c feature/Set session cookie secure value to false 2023-12-13 13:36:22 +01:00
Marko Milić
089b6fe267 bugfix/Fix wrong inactivity timeout 2023-12-08 19:09:02 +01:00
Marko Milić
0b396eb654 feature/Set secure option conditionally 2023-12-08 19:05:48 +01:00
nemo
8af4a4d7e4 Add loading page and WIP: session cookies 2023-11-15 18:00:53 +00:00
Mark Silva
1cec8c7a3f WIP: api version standards 2023-08-26 16:42:20 +08:00
ma-silva
3fa5e96bfe FEATURE: server side api 2023-04-20 14:03:07 +08:00