Skip to content

Conversation

@leonid-zats
Copy link

@leonid-zats leonid-zats commented Oct 12, 2025

Generated description

Below is a concise technical summary of the changes proposed in this PR:

graph LR
main_("main"):::modified
RefreshTokenRequest_("RefreshTokenRequest"):::modified
RefreshTokenResponse_("RefreshTokenResponse"):::modified
update_auth_token_("update_auth_token"):::modified
main_ -- "Added JSON rename for refresh_token field serialization." --> RefreshTokenRequest_
main_ -- "Added JSON rename for access_token and expires_in fields." --> RefreshTokenResponse_
main_ -- "Preserves indentation when updating authorization token line." --> update_auth_token_
classDef added stroke:#15AA7A
classDef removed stroke:#CD5270
classDef modified stroke:#EDAC4C
linkStyle default stroke:#CBD5E1,font-size:13px
Loading

Integrates an automatic token refresh mechanism into the Apollo MCP server, enabling the TokenManager to fetch new access tokens and the ConfigManager to persistently update the configuration with the refreshed token.

TopicDetails
Token Refresh Implement automatic token refresh logic by orchestrating the initial setup in main.rs, defining request/response structures in token_manager.rs, and updating the configuration file via ConfigManager::update_auth_token.
Modified files (3)
  • crates/apollo-mcp-server/src/token_manager.rs
  • crates/apollo-mcp-server/src/main.rs
  • crates/apollo-mcp-server/src/config_manager.rs
Latest Contributors(2)
UserCommitDate
leonid-zatsFix-clippy-error-move-...October 12, 2025
[email protected]Releasing-0.8.0-356September 16, 2025
Dependencies & CI Update project dependencies in Cargo.lock and modify the CI workflow in .github/workflows/ci.yml.
Modified files (2)
  • Cargo.lock
  • .github/workflows/ci.yml
Latest Contributors(2)
UserCommitDate
leonid-zatsRemove-macOS-from-CI-w...October 12, 2025
svc-apollo-bot-2@apoll...chore-release-bumping-...October 01, 2025
This pull request is reviewed by Baz. Review like a pro on (Baz).

@leonid-zats leonid-zats merged commit 511686e into main Oct 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants