> ## 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) に置き換えられています。最新の認証パイプラインについて詳しくは、[Introducing OIDC Conformant Authentication](/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 | 予期しないエラー    |
