Skip to content

feat: add MongoDB Atlas Administration API integration - #261

Merged
guyb1 merged 2 commits into
onecli:mainfrom
evenisse:feat/mongodb-atlas
May 13, 2026
Merged

feat: add MongoDB Atlas Administration API integration#261
guyb1 merged 2 commits into
onecli:mainfrom
evenisse:feat/mongodb-atlas

Conversation

@evenisse

@evenisse evenisse commented May 9, 2026

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Adds MongoDB Atlas as a new service using OAuth 2.0 client_credentials flow (Service Accounts). Stores client_id + client_secret and exchanges them for short-lived Bearer tokens (1h) renewed automatically by the gateway.

  • apps/web: new mongodb-atlas app definition (credentials_import type), registry entry, and SVG icon
  • apps/gateway: new AppProvider for cloud.mongodb.com, new refresh_via_client_credentials() function, and client_credentials branch in resolve_access_token()
  • 6 new Rust tests covering host matching, Bearer injection, and refresh config expectations

Adds MongoDB Atlas as a new service using OAuth 2.0 client_credentials
flow (Service Accounts). Stores client_id + client_secret and exchanges
them for short-lived Bearer tokens (1h) renewed automatically by the gateway.

- apps/web: new mongodb-atlas app definition (credentials_import type),
  registry entry, and SVG icon
- apps/gateway: new AppProvider for cloud.mongodb.com, new
  refresh_via_client_credentials() function, and client_credentials
  branch in resolve_access_token()
- 6 new Rust tests covering host matching, Bearer injection, and
  refresh config expectations
@evenisse
evenisse force-pushed the feat/mongodb-atlas branch from f3720b3 to 3d8e062 Compare May 12, 2026 21:21
@guyb1
guyb1 merged commit 3cbbc02 into onecli:main May 13, 2026
3 checks passed
@guyb1

guyb1 commented May 13, 2026

Copy link
Copy Markdown
Contributor

thank you @evenisse !

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