deps(admin-ui)(deps): Bump @types/jest from 27.5.2 to 30.0.0 in /admin-ui#12
Open
dependabot[bot] wants to merge 1 commit intomainfrom
Open
deps(admin-ui)(deps): Bump @types/jest from 27.5.2 to 30.0.0 in /admin-ui#12dependabot[bot] wants to merge 1 commit intomainfrom
dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
tapas100
added a commit
that referenced
this pull request
Feb 5, 2026
Add enterprise-grade SAML authentication to FlexGate via Einstrust integration.
## Features Added
### Backend Authentication Module (src/auth/)
- Einstrust API client with SSO/callback/validation/logout
- In-memory session cache with TTL and LRU eviction
- Authentication middleware with RBAC support
- TypeScript types for all auth interfaces
- Health checks and cache statistics
### API Endpoints (routes/auth.ts)
- POST /api/auth/saml/initiate - Start SSO login
- POST /api/auth/saml/callback - Handle SAML response
- GET /api/auth/session - Validate session
- POST /api/auth/logout - Logout with SLO support
- GET /api/auth/metadata/:tenantId? - SP metadata
- GET /api/auth/cache/stats - Cache statistics (admin)
- POST /api/auth/cache/clear - Clear cache (admin)
- GET /api/auth/status - Auth system status
### Frontend Updates (admin-ui/)
- Enhanced auth service with SSO methods
- initiateSSOLogin() for SSO initiation
- handleSSOCallback() for SAML processing
- logoutWithSLO() for Single Logout
### Documentation
- EINSTRUST_INTEGRATION.md - Complete integration guide (1,050+ lines)
- EINSTRUST_INTEGRATION_SUMMARY.md - Implementation summary
- EINSTRUST_TODO.md - Step-by-step checklist for completion
## Architecture
FlexGate → Einstrust API → Identity Provider (Okta/Azure AD/etc)
↓
Session Cache (TTL-based, LRU eviction)
↓
Authentication Middleware (RBAC)
## Performance
- Session caching reduces API calls by 80%+
- Configurable TTL (default 5 minutes)
- LRU cache eviction (max 1000 sessions)
- Automatic cleanup of expired sessions
## Security
- Bearer token authentication
- Role-based access control
- Session expiration handling
- CSRF protection via RelayState
- Audit logging
- Secure error handling
## Statistics
- 10 files created/modified
- ~1,400 lines of production code
- 8 new API endpoints
- 15+ TypeScript interfaces
- Comprehensive documentation
## Next Steps
1. Initialize auth in app.ts
2. Create Admin UI SSO components (LoginPage, SSOCallback)
3. Configure environment variables
4. Test with Einstrust mock IdP
5. Deploy to production
## Breaking Changes
None - SSO is opt-in via environment variables
## Related
- Einstrust Repo: https://github.com/tapas100/einstrust
- Einstrust PR #12: tapas100/einstrust#12
tapas100
added a commit
that referenced
this pull request
Feb 5, 2026
- Add SSOCallback component for handling SAML responses - Update Login page with Enterprise SSO button - Mount auth routes in app.ts - Fix auth service return type for SSO callback - Add routing for /auth/callback - Configure environment variables for Einstrust Integration Details: - Backend: Complete (10 files, 8 endpoints) - Frontend: Complete (5 components updated) - Authentication: Opt-in via EINSTRUST_API_URL env var - Session management: 5-minute cache TTL - Ready for production testing Related: Einstrust PR #12 (feature/saml-integration)
tapas100
added a commit
that referenced
this pull request
Feb 5, 2026
Add enterprise-grade SAML authentication to FlexGate via Einstrust integration.
## Features Added
### Backend Authentication Module (src/auth/)
- Einstrust API client with SSO/callback/validation/logout
- In-memory session cache with TTL and LRU eviction
- Authentication middleware with RBAC support
- TypeScript types for all auth interfaces
- Health checks and cache statistics
### API Endpoints (routes/auth.ts)
- POST /api/auth/saml/initiate - Start SSO login
- POST /api/auth/saml/callback - Handle SAML response
- GET /api/auth/session - Validate session
- POST /api/auth/logout - Logout with SLO support
- GET /api/auth/metadata/:tenantId? - SP metadata
- GET /api/auth/cache/stats - Cache statistics (admin)
- POST /api/auth/cache/clear - Clear cache (admin)
- GET /api/auth/status - Auth system status
### Frontend Updates (admin-ui/)
- Enhanced auth service with SSO methods
- initiateSSOLogin() for SSO initiation
- handleSSOCallback() for SAML processing
- logoutWithSLO() for Single Logout
### Documentation
- EINSTRUST_INTEGRATION.md - Complete integration guide (1,050+ lines)
- EINSTRUST_INTEGRATION_SUMMARY.md - Implementation summary
- EINSTRUST_TODO.md - Step-by-step checklist for completion
## Architecture
FlexGate → Einstrust API → Identity Provider (Okta/Azure AD/etc)
↓
Session Cache (TTL-based, LRU eviction)
↓
Authentication Middleware (RBAC)
## Performance
- Session caching reduces API calls by 80%+
- Configurable TTL (default 5 minutes)
- LRU cache eviction (max 1000 sessions)
- Automatic cleanup of expired sessions
## Security
- Bearer token authentication
- Role-based access control
- Session expiration handling
- CSRF protection via RelayState
- Audit logging
- Secure error handling
## Statistics
- 10 files created/modified
- ~1,400 lines of production code
- 8 new API endpoints
- 15+ TypeScript interfaces
- Comprehensive documentation
## Next Steps
1. Initialize auth in app.ts
2. Create Admin UI SSO components (LoginPage, SSOCallback)
3. Configure environment variables
4. Test with Einstrust mock IdP
5. Deploy to production
## Breaking Changes
None - SSO is opt-in via environment variables
## Related
- Einstrust Repo: https://github.com/tapas100/einstrust
- Einstrust PR #12: tapas100/einstrust#12
tapas100
added a commit
that referenced
this pull request
Feb 5, 2026
- Add SSOCallback component for handling SAML responses - Update Login page with Enterprise SSO button - Mount auth routes in app.ts - Fix auth service return type for SSO callback - Add routing for /auth/callback - Configure environment variables for Einstrust Integration Details: - Backend: Complete (10 files, 8 endpoints) - Frontend: Complete (5 components updated) - Authentication: Opt-in via EINSTRUST_API_URL env var - Session management: 5-minute cache TTL - Ready for production testing Related: Einstrust PR #12 (feature/saml-integration)
…n-ui Dependabot couldn't find the original pull request head commit, 7ddf068.
7ddf068 to
202b2df
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @types/jest from 27.5.2 to 30.0.0.
Commits
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)