Skip to main content
POST
/
api
/
oauth
/
per-user
/
consent
/
submit
Error
A valid request URL is required to generate request examples
{
  "event_id": "<string>",
  "type": "<string>",
  "is_bifrost_error": true,
  "status_code": 123,
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "event_id": "<string>"
  },
  "extra_fields": {
    "provider": "openai",
    "model_requested": "<string>",
    "request_type": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Body

application/x-www-form-urlencoded
flow_id
string
required

Pending flow ID

Response

Redirect to the MCP client's registered redirect_uri with ?code=xxx&state=yyy query parameters.