BoxをAuth0に接続する
1
Boxのセットアップ
- Box Developerアカウントにサインアップします
- Boxのドキュメント「Custom Apps: Setup with OAuth 2.0」に従ってアプリをセットアップします
- Client IDとClient Secretを控えておきます
2
Auth0のセットアップ
このガイドでは、Auth0 で Box 接続をセットアップする手順を説明します。 このような接続を使用して、ユーザーに代わってアプリから第三者 API を呼び出す方法を一連の流れで示す例については、 ユーザーに代わって第三者 API を呼び出すクイックスタートをお読みください。
Token Vaultの設定例
Box接続用にToken Vaultを設定するには、アプリケーションで次のコードスニペットを使用します。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.