メインコンテンツへスキップ
POST
https://{yourDomain}
/
delegation
Get Delegation Token (Legacy)
curl --request POST \
  --url https://{yourDomain}/delegation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer",
  "id_token": "<string>",
  "target": "<string>",
  "scope": "<string>",
  "api_type": "<string>"
}
'
{
  "id_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123
}

Documentation Index

Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt

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

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ボディ

application/json
client_id
string
必須

Your application's Client ID

grant_type
enum<string>
必須

The grant type for delegation

利用可能なオプション:
urn:ietf:params:oauth:grant-type:jwt-bearer
id_token
string
必須

The ID Token you want to exchange

target
string

The Client ID of the target application

scope
string

Space-delimited list of requested scopes

api_type
string

The type of API (e.g., 'firebase', 'aws', 'azure_sb', etc.)

レスポンス

Delegation token returned successfully

id_token
string

The delegated ID Token

token_type
string

The type of token

expires_in
integer

Token lifetime in seconds