SSO & App users
SSO & App users
Single Sign-On (SSO) services are often used as part of a company's Identity and Access Management (IAM) solution. When deployed, these services grant users the ability to securely authenticate multiple applications by logging in once, with only one set of credentials (username and password).
Box is one of the applications that can be connected to the SSO service of a company. Integrating these applications into your custom apps will allow you to provision Box users on the fly for any of your end users, without those users knowing they have a Box account.
Connecting SSO to apps
When integrating SSO services into a Box application programmatically, we are referring to the following flow.
- A user accesses your web or mobile application in a logged out state.
- The user is redirected to your SSO provider to log in, typically via
- After login, the user is redirected back to your application along with their SSO identity credentials.
- Your application does a check to see if an associated Box account already exists for this user.
- If an existing Box account already exists for this user, the application uses the SSO identity to make API calls on behalf of that user in Box.
- If there is not already an associated Box account for this user, a new Box user account is created based on the SSO identity. The unique user ID from the SSO service is then linked to the new Box user, creating an association between the two accounts. This new Box user is then API calls on behalf of that user in Box.