9router/src/shared/components
Duc Nguyen 65197ad11c feat(auth): add native SAML 2.0 SSO integration
Add SAML 2.0 as a second SSO protocol alongside OIDC under a unified
authMode/ssoType model. SP flows via @node-saml/node-saml: AuthnRequest
generation, ACS POST assertion handling, SP metadata export, and admin
config test endpoint. Replay-protected via saml_state cookie (httpOnly,
SameSite=Lax) matched against InResponseTo; wantAssertionsSigned enforced.

- src/lib/auth/saml.js: SAML instance builder, X.509 cert formatter, claim pickers
- 4 routes under src/app/api/auth/saml/: start, acs, metadata, test
- settingsRepo: ssoType + saml* defaults; login/status routes dispatch by type
- profile page: SSO protocol switcher, IdP metadata XML + cert uploaders
- login page: dynamic SAML sign-in button; Header: SAML user badge
2026-08-13 17:56:34 +07:00
..
layouts Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
AddCustomEmbeddingModal.js Enhance image and embedding provider support 2026-04-25 16:22:30 +07:00
Avatar.js Initial commit 2026-01-05 09:58:59 +07:00
Badge.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
Button.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
CapacityBadges.js Refactor 2026-06-15 18:18:04 +07:00
Card.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
ChangelogModal.js Add marked package, update Qwen executor for OAuth handling, and enhance changelog styles 2026-04-17 12:15:10 +07:00
ComboFormModal.js fix(dashboard): cut duplicate API/icon spam, lazy-load provider assets 2026-07-17 12:12:20 +07:00
CursorAuthModal.js fix: use better-sqlite3 for Cursor auto-import, drop sqlite3 CLI requirement (closes #395) (#411) 2026-03-27 10:45:11 +07:00
DonateModal.js fix(dashboard): cut duplicate API/icon spam, lazy-load provider assets 2026-07-17 12:12:20 +07:00
Drawer.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
EditConnectionModal.js fix(xiaomi-tokenplan): region selector, key validation, multi-connection (#2251) 2026-07-03 11:03:18 +07:00
Footer.js Initial commit 2026-01-05 09:58:59 +07:00
GitLabAuthModal.js feat: add GitLab Duo and CodeBuddy support, update observability settings 2026-03-30 11:28:07 +07:00
Header.js feat(auth): add native SAML 2.0 SSO integration 2026-08-13 17:56:34 +07:00
HeaderLanguage.js refactor(dashboard): reorganize menu actions across sidebar/header/profile 2026-06-06 16:05:44 +07:00
HeaderMenu.js refactor(dashboard): reorganize menu actions across sidebar/header/profile 2026-06-06 16:05:44 +07:00
IFlowCookieModal.js - Refines the overall structure of the CLI tools and MITM server functionalities. 2026-03-05 11:25:03 +07:00
index.js Refactor 2026-06-15 18:18:04 +07:00
Input.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
KiroAuthModal.js feat(kiro): add external_idp CLIProxyAPI import for Microsoft SSO 2026-06-26 11:42:05 +07:00
KiroOAuthWrapper.js feat(kiro): headless API-key auth + direct Claude/Kiro route 2026-06-17 10:01:30 +07:00
KiroSocialOAuthModal.js fix(auth): real client IP rate-limiting + remote default-password guard 2026-06-08 12:10:02 +07:00
LanguageSwitcher.js feat(i18n): add Khmer language support 2026-07-19 16:30:37 +07:00
Loading.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
ManualConfigModal.js fix: add clipboard fallback for navigator.clipboard unavailable contexts (closes #696) (#699) 2026-04-22 10:12:55 +07:00
McpMarketplaceModal.js fix(dashboard): cut duplicate API/icon spam, lazy-load provider assets 2026-07-17 12:12:20 +07:00
Modal.js feat(ui): enhance model select modal UX and modal traffic lights (#1111) 2026-05-15 09:21:24 +07:00
ModelSelectModal.js feat(combos): default-enable vision/audio adapter with mimo fallback 2026-08-05 16:09:42 +07:00
NineRemoteButton.js Fix Model Price 2026-04-04 14:40:49 +07:00
NineRemotePromoModal.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
NoAuthProxyCard.js feat(proxy-pools): auto-rotate strategy for no-auth providers (#2409) 2026-07-10 16:05:07 +07:00
OAuthModal.js fix(providers): remove Qwen provider support 2026-08-05 16:17:26 +07:00
Pagination.js fix: keep usage details pagination inside mobile viewport (#1218) 2026-05-17 15:09:51 +07:00
PricingModal.js fix(translator): ESM-safe registry + tool-id pairing + responses max_tokens; add real-creds tests 2026-06-15 11:38:43 +07:00
ProviderIcon.js fix(dashboard): cut duplicate API/icon spam, lazy-load provider assets 2026-07-17 12:12:20 +07:00
ProviderInfoCard.js Update version to 0.4.9, enhance README with Trendshift badge, and add new embedding models to providerModels.js. Refactor TTS handling to support additional providers and improve API key validation for media providers. 2026-04-29 11:34:39 +07:00
RequestLogger.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
SegmentedControl.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
Select.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
Sidebar.js fix(providers): remove Qwen provider support 2026-08-05 16:17:26 +07:00
ThemeProvider.js Initial commit 2026-01-05 09:58:59 +07:00
ThemeToggle.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
Toggle.js Refactor global styles and enhance MITM functionality 2026-05-03 18:00:35 +07:00
Tooltip.js Refactor 2026-06-15 18:18:04 +07:00
UsageStats.js perf: faster dev startup and lighter bundle 2026-07-10 13:08:02 +07:00