Public browser callback for PLATFORM_OAUTH_REDIRECT_URI. Validates state and browser-binding cookie, exchanges the code, reconciles Atlas roles when applicable, and either resumes Agent Engine OIDC login or redirects to the in-app next path.
GET
/auth/oauth/callback
curl \
--request GET 'https://agentengine.mongodb.com/auth/oauth/callback?state=string' \
--header "Authorization: $API_KEY"
Response examples (302)
string
Response examples (409)
string
Response examples (503)
string