Box Integration With Salesforce using Single Sign On
1. Will the SSO method Login to the Box one time or does the user need to Login to the Box every time?
2. If my salesforce community users are not the user of Box but they want to use only shared folder and parent folders or other data should be hidden from them so, can we achieve this? How?
3. How can I change the folder collaboration and settings via API callout?
-
Hi ,
Depending on the application type and SDK you use, there are a few options available to you. I'm assuming that you've been looking at the Salesforce SDK as your primary target, so let me address some of these questions for that implementation. Please let me know if there is another implementation that you're looking at, specifically a OAuth 2 / JWT app implementation.
The Salesforce SDK uses our standard OAuth 2 flow, which means that a user will log in via their Box account, grant the application permission to access their account features, then an access token will be created that gives the Salesforce SDK access to make API calls to Box. To answer some of your questions:
- The Salesforce SDK will automatically refresh the access token it needs, meaning that you don't need to re-authenticate the user. More info here.
- In this SDK instance, with the OAuth 2 flow, there will be a 1:1 mapping between the app and a Box user. This means that the user will need to have a Box account to log in. Beyond that, a shared folder instance would need to be maintained outside the Box SDK.
- You can use the edit collaboration method of the SDK for this. More info here.
Hope that helps,
Jon
Please sign in to leave a comment.
Comments
1 comment