コンテンツにスキップ

Return the legacy Direct Auth token compatibility error.

POST
/api/v1/auth/direct/token
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/v1/auth/direct/token \
--header 'Content-Type: application/json' \
--data '{ "direct_auth_artifact": "direct_auth_code_123", "client_id": "client_123", "code_verifier": "rfc7636-code-verifier" }'

This legacy endpoint never issues tokens. Use the canonical OAuth token endpoint with the Direct Auth finish grant instead.

Media type application/json
object
direct_auth_artifact
string
client_id
string
code_verifier
string
Example
{
"direct_auth_artifact": "direct_auth_code_123",
"client_id": "client_123",
"code_verifier": "rfc7636-code-verifier"
}

Successful JSON response.

Media type application/json
object
error
required
string
error_description
string
Example
{
"error": "legacy_endpoint_not_supported",
"error_description": "This endpoint is no longer supported."
}