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

> OAG でアイデンティティプロバイダーを設定する

# Access Gateway で IDプロバイダーを設定する

Auth0 をマシンツーマシン (M2M) アプリケーションと統合するには、まず <Tooltip tip="Auth0 Dashboard: サービスを設定するための Auth0 のメイン製品です。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=Auth0+Dashboard">Auth0 Dashboard</Tooltip> を使用して、アプリを Auth0 に登録する必要があります。

1. [Dashboard > Applications > Applications](https://manage.auth0.com/#/applications) に移動し、**Create Application** をクリックします。

2. アプリケーションのわかりやすい名前を入力し、**Machine to Machine Applications** を選択して、**Create** をクリックします。

3. M2M 通信を認可するため、Management API を選択します。OAG はこの API を介して Auth0 とやり取りします。

4. **Authorize** をクリックします。

5. API にアクセスする各 M2M アプリには、認証されたユーザーによって付与される一連の権限 (またはスコープ) が必要です。アプリケーションの <Tooltip tip="Access Token: API にアクセスするために使用される、不透明文字列または JWT 形式の Authorization 資格情報です。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=access+token">アクセストークン</Tooltip> の一部として発行する **Permissions** を選択します。OAG では、**client** と **users:** に対して次の権限が必要です。

* `read:client, write:client, update:client, delete:client`
* `read:users`

6. **Authorize** をクリックします。

7. アプリケーションの **Credentials** タブを選択します。

8. **<Tooltip tip="Client ID: Auth0 から登録済みリソースに付与される識別値です。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=Client+ID">Client ID</Tooltip>** をクリックし、テキストエディターにコピーします。

9. **<Tooltip tip="Client Secret: クライアント（アプリケーション）が Authorization Server で認証するために使用する秘密情報です。これはクライアントと Authorization Server のみが知るべきものであり、推測されないよう十分にランダムである必要があります。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=Client+Secret">Client Secret</Tooltip>** をクリックし、テキストエディターにコピーします。

10. \[Access Gateway で IDプロバイダーを設定する]\(/docs/Configure an Identity Provider in Access Gateway) 手順に進みます。
