Skip to main content
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.

Authorizations

Authorization
string
header
required

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

Body

application/json
client_id
string
required

Your application's Client ID

grant_type
enum<string>
required

The grant type for delegation

Available options:
urn:ietf:params:oauth:grant-type:jwt-bearer
id_token
string
required

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.)

Response

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