发布

  • feat(auth): add OAuth2 support for xAI with PKCE and token persistence

    frostbyte_neo 发布于 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 xai package with helpers for OAuth discovery, API token handling, and URL building.
    • Introduced XAIExecutor for integrating xAI credentials into runtime HTTP requests.
    • Added unit tests to validate OAuth flow, token persistence, and endpoint validation.
    下载附件