Skip to main content
AI agentをAmazonに接続すると、販売者の在庫管理、商品リスティングの更新、売上実績の追跡を支援したり、購入者が商品の価格や在庫状況を追跡できるようにしたりできます。

AmazonをAuth0に接続する

1

Amazonの設定

  1. Amazon Developerアカウントのページにアクセスし、サインアップします。
  2. Amazon Developer Consoleで新しいSecurity Profileを作成します。
  3. Consent Screen Informationフォームに必要事項を入力します。
  4. Show Client ID and Client Secretリンクを選択します。
  5. Client IDとclient secretをコピーします。
  6. 作成したSecurity Profileを選択し、ドロップダウンからWeb Settingsを開きます。
  7. Editを選択し、Allowed OriginsとAllowed Return URLsを設定します。
  8. 以下の値を使用します。
    • Allowed Origins: https://YOUR_AUTH0_DOMAIN
    • Allowed Return URLs: https://YOUR_AUTH0_DOMAIN/login/callback
    You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
  9. Saveを選択します。
Amazonの設定の詳細については、Login with Amazonのドキュメントを参照してください。
2

Auth0の設定

このガイドでは、Auth0 で Amazon 接続をセットアップする手順を説明します。 このような接続を使用して、ユーザーに代わってアプリから第三者 API を呼び出す方法を一連の流れで示す例については、 ユーザーに代わって第三者 API を呼び出すクイックスタートをお読みください。

Token Vaultの設定例

Amazon接続でToken Vaultを設定するには、アプリケーションで次のコードスニペットを使用します。

Next steps