-
feat(auth): add OAuth2 support for xAI with PKCE and token persistence
发布于
2026-05-16 17:02:35 +00:00 - Implemented xAI OAuth2 integration with PKCE (Proof Key for Code Exchange) support.
- Added logic for token exchange, refresh, and persistent storage in JSON format.
- Created
xaipackage with helpers for OAuth discovery, API token handling, and URL building. - Introduced
XAIExecutorfor integrating xAI credentials into runtime HTTP requests. - Added unit tests to validate OAuth flow, token persistence, and endpoint validation.
下载附件