> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# リソースオーナー パスワードグラント

> 認証情報を使用してユーザーを認証し、アクセストークンとIDトークンを返す非推奨のエンドポイント。

<div id="endpoint">
  ## エンドポイント
</div>

`POST /oauth/ro`

ユーザーの認証情報を指定すると、このエンドポイントはプロバイダーでユーザーを認証し、アクセストークンとIDトークンを含む JSON オブジェクトを返します。

<Note>
  このエンドポイントはレガシー認証パイプラインの一部であり、現在は [Password Grant](#resource-owner-password) に置き換えられています。最新の認証パイプラインの詳細については、[OIDC 準拠認証の紹介](/ja/api-auth/intro) を参照してください。
</Note>

<div id="remarks">
  ### 注記
</div>

* このエンドポイントは、データベース接続、パスワードレス接続、Active Directory/LDAP、Windows Azure AD、ADFS でのみ使用できます。
* `profile` スコープは、エンドユーザーのデフォルトのユーザープロファイルのクレーム (`name`、`family_name`、`given_name` など) へのアクセスを要求します。
* `email` スコープは、`email` および `email_verified` クレームへのアクセスを要求します。

<div id="learn-more">
  ### 詳細
</div>

* [高信頼アプリケーションからAPIを呼び出す](https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow)

<div id="body-parameters">
  ## ボディパラメーター
</div>

<ParamField body="client_id" type="string" required />

<ParamField body="connection" type="string" required />

<ParamField body="grant_type" type="string" required>
  使用できる値: `password`
</ParamField>

<ParamField body="username" type="string" required />

<ParamField body="password" type="string" required />

<ParamField body="scope" type="string" />

<ParamField body="id_token" type="string" />

<ParamField body="device" type="string" />

<div id="response-messages">
  ## レスポンスメッセージ
</div>

| ステータス   | 説明           |
| ------- | ------------ |
| 200     | 認証成功         |
| 400     | 不正なリクエスト     |
| 401     | 未認証          |
| 429     | リクエスト数が多すぎます |
| 403     | アクセス拒否       |
| default | 予期しないエラー     |
