I have an application where users log in using the Google google-oauth2 social IDP. I would like to have access to an access token from an enterprise client (Box) so I can interact with the Box API inside my application. My understanding is that I could add Box as an IDP and using this tutorial (https://auth0.com/docs/link-accounts/user-initiated-linking) link the user’s google-oauth2 account with the new Box account.
However, I would like to at the same time set up SSO with Box. That is, I want users to only login to Box with their google-oauth2 credentials (and not have seperate Box credentials). My understanding is that the Box IDP would no longer work and I wouldn’t be able to get the box access to link the account.
How would I go about getting Box credentials in a google-oauth2 account while SSO is set up with Box?
Thank you in advance!