tftsr-devops_investigation/src-tauri/src
Shaun Arman 32d83df3cf
Some checks failed
Release / build-windows-amd64 (push) Has been cancelled
Release / build-linux-amd64 (push) Has been cancelled
Release / build-macos-arm64 (push) Has been cancelled
Release / build-linux-arm64 (push) Has been cancelled
feat: add multi-mode authentication for integrations (v0.2.10)
Implement three authentication methods for Confluence, ServiceNow, and Azure DevOps:

1. **OAuth2** - Traditional OAuth flow for enterprise SSO environments
2. **Embedded Browser** - Webview-based login that captures session cookies/tokens
   - Solves VPN constraints: users authenticate off-VPN via web UI
   - Extracted credentials work on-VPN for API calls
   - Based on confluence-publisher agent pattern
3. **Manual Token** - Direct API token/PAT input as fallback

**Changes:**
- Add webview_auth.rs module for embedded browser authentication
- Implement authenticate_with_webview and extract_cookies_from_webview commands
- Implement save_manual_token command with validation
- Add AuthMethod enum to support all three modes
- Add RadioGroup UI component for mode selection
- Complete rewrite of Integrations settings page with mode-specific UI
- Add secondary button variant for UI consistency

**VPN-friendly design:**
Users can authenticate via webview when off-VPN (web UI accessible), then use extracted cookies for API calls when on-VPN (API requires VPN). Addresses enterprise SSO limitations where OAuth app registration is blocked.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-03 17:26:09 -05:00
..
ai feat: add temperature and max_tokens support for Custom REST providers (v0.2.9) 2026-04-03 17:08:34 -05:00
audit style: apply cargo fmt formatting 2026-03-15 12:43:46 -05:00
commands feat: add multi-mode authentication for integrations (v0.2.10) 2026-04-03 17:26:09 -05:00
db feat: add database schema for integration credentials and config 2026-04-03 14:23:49 -05:00
docs fix: implement native DOCX export without pandoc dependency 2026-04-03 12:53:36 -05:00
integrations feat: add multi-mode authentication for integrations (v0.2.10) 2026-04-03 17:26:09 -05:00
ollama fix: provider routing uses provider_type, Active badge, fmt 2026-03-31 08:05:13 -05:00
pii fix: inline format args for Rust 1.88 clippy compatibility 2026-03-15 13:28:59 -05:00
lib.rs feat: add multi-mode authentication for integrations (v0.2.10) 2026-04-03 17:26:09 -05:00
main.rs feat: initial implementation of TFTSR IT Triage & RCA application 2026-03-14 22:36:25 -05:00
state.rs feat: add temperature and max_tokens support for Custom REST providers (v0.2.9) 2026-04-03 17:08:34 -05:00