メインコンテンツへスキップ
Dashboardまたはを使用して各アプリケーションのリフレッシュトークンのローテーションを無効にできます。

Dashboardでの無効化

  1. Auth0 Dashboardから [Applications(アプリケーション)]>[Applications(アプリケーション)] に移動して、構成するアプリケーションを選択します。
  2. [Settings(設定)]タブの[Refresh Token Rotation(リフレッシュトークンのローテーション)]セクションにある[Allow Refresh Token Rotation(リフレッシュトークンのローテーションを許可する)]トグルを無効にします。
  3. 画面の下部にある [Save Changes(変更を保存)] をクリックします。

Management APIでの無効化

  1. 以下のようにManagement APIを使用して、各アプリケーションのローテーションリフレッシュトークンのローテーションローテーションを無効にします。 export const codeExample = const auth0 = await createAuth0Client({ domain: '{yourDomain}', client_id: '{yourClientId}', audience: '{yourApiIdentifier}', useRefreshTokens: false });;
  1. ローテーションなしのリフレッシュトークン設定を以下のように構成します。
    PATCH /api/v2/clients/{client_id}
        {
          "refresh_token": {
        "rotation_type": "non-rotating",
        "expiration_type": "non-expiring"
          }
        }
    

もっと詳しく