概要
特定のIDプロバイダーやサービスが標準で用意されていない場合は、Auth0でカスタムソーシャル接続を作成できます。これは、独自システムや地域限定のサービス、特殊なOAuth2プロバイダーと統合する場合に特に便利です。 詳細やAuth0でのカスタムOAuth2接続の構成方法については、アプリを汎用OAuth2認可サーバーに接続するのドキュメントを参照してください。Connected Accounts for Token Vault を構成する
接続を作成したら、用途セクションで Connected Accounts for Token Vault をオンにします。これにより、接続で外部 API 用のアクセストークンを取得し、安全に保存できるようになります。詳細については、「Connected Accounts for Token Vault」をお読みください。アプリケーションで Organizations を使用している場合は、Connected Accounts フローを開始する前に、対象の Organization でユーザーを認証してください。その場合でも、Token Vault は連携済みアカウントをユーザーの Auth0 プロファイルに保存します。そのため、Organization の各メンバーがそれぞれ自分の外部アカウントを認可することになります。
Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- If your application uses Organizations, authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
- To learn how to get an access token to make a tool call, complete the Call third-party APIs on user’s behalf Quickstart.