Start OIDC login flow

GET /auth/oidc/start

Validates the auth_start transaction ID, generates PKCE/nonce/state, stores them in a cookie, and redirects to the identity provider.

Query parameters

  • tx string Required

    Transaction ID (hash of auth_start state)

Responses

  • 302 application/json

    Redirect to identity provider

  • 400 application/json

    Bad Request

    Additional properties are allowed.

  • 500 application/json

    Internal Server Error

    Additional properties are allowed.

GET /auth/oidc/start
curl \
 --request GET 'https://agentengine.mongodb.com/auth/oidc/start?tx=string' \
 --header "Authorization: $API_KEY"
Response examples (302)
string
Response examples (400)
{}
Response examples (500)
{}