When a user logs into a Box platform application with their SSO provider, the first step that should be taken is to see if that user already exists from a previous login attempt where a Box user record was already created. If a Box user is found you should , or make , to access Box APIs as that user. If a Box user is not found you should create a new user with an association to the SSO user record. To search for existing users the endpoint may be used. Depending on whether you’re using theDocumentation Index
Fetch the complete documentation index at: https://developer.box.com/llms.txt
Use this file to discover all available pages before exploring further.
external_app_user_id or login method your query will look slightly
different.
Find user by external_app_user_id
To search for enterprise users by the stored external_app_user_id value you
will need one piece of information from the SSO provider:
- UID (required): The unique identifier from the SSO user record.
external_app_user_id definition in the parameters.
Find user by email address
To search for enterprise users by theirlogin email you
will need one piece of information from the SSO provider:
- Email (required): The unique email from the SSO user record.
filter_term, which is made available to search by
email or name.
