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

> Authorization Extension v2 をアップグレードする方法を説明します。

# Authorization Extension v2 への移行

<Warning>
  Rules と Hooks のサポート終了 (EOL) 日は **2026 年 11 月 18 日** です。また、**2023 年 10 月 16 日** 以降に作成された新規テナントでは、これらはすでに利用できません。アクティブな Hooks を使用している既存のテナントでは、サポート終了日まで Hooks 製品へのアクセスが維持されます。

  Auth0 の拡張には、Actions の使用を強く推奨します。Actions では、豊富な型情報、インラインドキュメント、公開 `npm` パッケージを利用できるほか、拡張機能の開発エクスペリエンス全体を向上させる外部統合にも接続できます。Actions の詳細については、[Understand How Auth0 Actions Work](/ja/docs/customize/actions/actions-overview) を参照してください。

  移行を支援するために、[Rules から Actions への移行](/ja/docs/customize/actions/migrate/migrate-from-rules-to-actions) と [Hooks から Actions への移行](/ja/docs/customize/actions/migrate/migrate-from-hooks-to-actions) のガイドを用意しています。また、機能比較、[Actions のデモ](https://www.youtube.com/watch?v=UesFSY1klrI)、移行に役立つその他のリソースをまとめた専用ページ [Move to Actions](https://auth0.com/extensibility/movetoactions) もあります。

  Rules と Hooks の非推奨化の詳細については、ブログ記事 [Preparing for Rules and Hooks End of Life](https://auth0.com/blog/preparing-for-rules-and-hooks-end-of-life/) を参照してください。
</Warning>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  Auth0 では、ロールベースのアクセス制御 (RBAC) を実装する方法として、次の 2 つを提供しています。これらは、API 独自の内部アクセス制御システムの代わりに使用することも、組み合わせて使用することもできます。

  * [Authorization Core](/ja/docs/manage-users/access-control/rbac)
  * [Authorization Extension](/ja/docs/customize/extensions/authorization-extension)

  Authorization Core の機能セットは Authorization Extension の機能に対応しており、パフォーマンスとスケーラビリティを向上させるとともに、Authorization Extension より柔軟な RBAC システムを提供します。

  現在、どちらも RBAC の主要機能を実装しており、API に定義したカスタムスコープを、ユーザーに権限として割り当てられたもののみに制限できます。
</Callout>

Authorization Extension のバージョン 1 と 2 の主な違いの 1 つは、**Applications** セクションが削除されたことです。このセクションは、アクセス制御ポリシーの定義に使用する場合など、この機能に内在する複雑さを軽減するために削除されました。このようなユースケースでは、[Rules](/ja/docs/customize/rules) を使用する方法が推奨されます。

<div id="upgrade-extension-version">
  ## 拡張機能のバージョンをアップグレードする
</div>

Authorization Extension をアップグレードするには、[Auth0 Dashboard > Extensions](https://manage.auth0.com/#/extensions) に移動し、**Installed Extensions** ビューを選択します。

Authorization Extension の行に、最新バージョンへのアップグレードを開始するためのリンクが表示されます。
