Skip to main content
POST
/
api
/
oauth
/
per-user
/
register
Error
A valid request URL is required to generate request examples
{
  "client_id": "550e8400-e29b-41d4-a716-446655440000",
  "client_name": "Claude Code",
  "redirect_uris": [
    "http://localhost:54321/callback"
  ],
  "grant_types": [
    "authorization_code"
  ],
  "token_endpoint_auth_method": "none"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt

Use this file to discover all available pages before exploring further.

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/json

Dynamic Client Registration request per RFC 7591. MCP clients (Claude Code, Cursor, etc.) call this to obtain a client_id before initiating the authorization flow.

redirect_uris
string[]
required

List of allowed redirect URIs for this client

Example:
["http://localhost:54321/callback"]
client_name
string

Human-readable name of the client application

Example:

"Claude Code"

grant_types
string[]

Supported grant types. Defaults to ["authorization_code"]

Example:
["authorization_code"]
response_types
string[]

Supported response types

Example:
["code"]
token_endpoint_auth_method
string

Token endpoint authentication method. Always "none" (public client)

Example:

"none"

scope
string

Space-separated list of requested scopes

Example:

"mcp:read mcp:write"

Response

Client registered successfully

Dynamic Client Registration response per RFC 7591

client_id
string

Issued client identifier

Example:

"550e8400-e29b-41d4-a716-446655440000"

client_name
string

Human-readable name of the client application

redirect_uris
string[]

Registered redirect URIs

grant_types
string[]

Registered grant types

response_types
string[]

Registered response types

token_endpoint_auth_method
string

Token endpoint authentication method (always "none")