OAuth 2.0 Authorization Endpoint
curl --request GET \
--url https://api.neus.network/oauth/authorize{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>",
"details": "<unknown>"
},
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}OAuth 2.0 Authorization Endpoint
The canonical OAuth 2.0 authorization endpoint. This endpoint owns all OAuth parameter validation and orchestrates the login flow.
- Validates response_type=code, client_id, redirect_uri, code_challenge_method=S256, and resource=https://mcp.neus.network/mcp.
- If no NEUS session exists, stores the pending OAuth request and renders the existing HostedLoginFlow (passkey/wallet login).
- After login, returns to /oauth/authorize continuation where the backend issues a one-time authorization code.
- Redirects to redirect_uri with code and state.
The existing /verify?intent=mcp flow remains as a compatibility alias. The code is single-use, bound to subjectId, client_id, redirect_uri, code_challenge, resource, and scope, and expires in 10 minutes.
GET
/
oauth
/
authorize
OAuth 2.0 Authorization Endpoint
curl --request GET \
--url https://api.neus.network/oauth/authorize{
"error": {
"code": "<string>",
"message": "<string>",
"type": "<string>",
"details": "<unknown>"
},
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.neus.network/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Available options:
code Available options:
S256 Requested scope (space-separated). Default: neus:core neus:profile neus:secrets offline_access.
Must be https://mcp.neus.network/mcp.
Response
Redirect to redirect_uri with code and state parameters on success, or error and state on failure.
⌘I