Handles the identity provider callback. Validates the CSRF state, exchanges the authorization code for tokens via PKCE, finds or creates a user, and redirects to the UI with a one-time code.
GET
/auth/oidc/callback
curl \
--request GET 'https://agentengine.mongodb.com/auth/oidc/callback?code=string&state=string' \
--header "Authorization: $API_KEY"
Response examples (302)
string