OAuth AuthorizationStart OAuth authorization flow

Start OAuth authorization flow

Initiates the OAuth 2.1 authorization code flow and redirects to the Nomadfiling authorization UI with the incoming parameters forwarded.

curl -X GET "https://api.example.com/mcp-server/authorize?client_id=example_string&redirect_uri=example_string&response_type=code&state=example_string&code_challenge=example_string&code_challenge_method=S256&scope=mcp" \
  -H "Content-Type: application/json"
{}
GET
/authorize
GET
Base URLstring

Target server for requests. Edit to use your own host.

query
client_idstring
Required

Registered OAuth client identifier.

query
redirect_uristring
Required

Redirect URI registered for the client.

Format: uri
query
response_typestring
Required

OAuth response type. Must be code.

Options: code
query
statestring

Opaque client state value returned on redirect.

query
code_challengestring

PKCE code challenge value.

query
code_challenge_methodstring

PKCE transformation method. Defaults to plain.

Options: S256, plain
query
scopestring

Requested OAuth scope. Defaults to mcp.

Request Preview
Response

Response will appear here after sending the request

Query Parameters

client_idstring
Required

Registered OAuth client identifier.

redirect_uristring
Required

Redirect URI registered for the client.

response_typestring
Required

OAuth response type. Must be code.

Allowed values:code
statestring

Opaque client state value returned on redirect.

code_challengestring

PKCE code challenge value.

code_challenge_methodstring

PKCE transformation method. Defaults to plain.

Allowed values:S256plain
scopestring

Requested OAuth scope. Defaults to mcp.

Example:
mcp

Responses