Skip to main content
POST
https://{yourDomain}
/
bc-authorize
Back-Channel Login
curl --request POST \
  --url https://{yourDomain}/bc-authorize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'client_id=<string>' \
  --data 'binding_message=<string>' \
  --data 'login_hint=<string>' \
  --data scope=openid \
  --data 'audience=<string>' \
  --data resource=https://api.example.com/ \
  --data requested_expiry=300 \
  --data 'authorization_details=<array>'
{
  "auth_req_id": "eyJh...",
  "expires_in": 300,
  "interval": 5
}

Authorizations

Authorization
string
header
required

Access token obtained from the authentication flow

Body

application/x-www-form-urlencoded
client_id
string
required

The client_id of your application.

binding_message
string
required

A human-readable string for the user to ensure they approve the correct request.

login_hint
string
required

A JSON object containing user details for authentication in the iss_sub format.

scope
string
required

Space-separated list of OIDC and custom API scopes, including openid at a minimum.

Example:

"openid"

audience
string

Optional unique identifier of the target API for access tokens.

resource
string

The identifier of the target API (resource server) you want to access. Must match an API Identifier registered in your Auth0 tenant. Used as an alternative to audience when the tenant's Resource Parameter Compatibility Profile is set to compatibility.

Example:

"https://api.example.com/"

requested_expiry
string

Custom expiry time for the request in seconds (1-300). Defaults to 300 seconds.

Example:

300

authorization_details
array

An optional JSON array of objects that describe the permissions to be authorized. Each object’s type value should be previously registered on the resource server using the Resource Server’s authorization_details parameter. To learn more, read the Update a resource server Management API documentation.

Response

Authentication request successfully initiated.