メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

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

POST /oauth/token これはサーバープロセスがAPIへのアクセス時に使用するOAuth 2.0権限付与です。アプリケーションの資格情報(クライアントIDとクライアントシークレット)を使用して、アクセストークンを直接要求するためにこのエンドポイントを使用します。

応答

200

成功応答ではアクセストークンが返されます。
{
  "access_token":"eyJz93a...k4laUWw",
  "token_type":"Bearer",
  "expires_in":86400
}

詳しく学ぶ

Parameters

grant_type
string
使用するフローを示します。クライアント資格情報については、client_credentialsを使用。
client_id
string
アプリケーションのクライアントIDです。
client_secret
string
アプリケーションのクライアントシークレットです。
audience
string
アクセスしたいターゲットAPIの一意の識別子です。
organization
string
[推奨]要求を関連付けたい組織または識別子です。詳細については、「Organizationsのマシンツーマシンアクセスをお読みください。

Response

StatusDescription
200成功レスポンス