Prepare a Dropbox identifier
01In brief #sec_1d3a8dc1
REVIEWIT collects a Dropbox Business team through a Dropbox application you create in the Dropbox developer console, limited to read scopes. A team administrator authorizes it once, from the login assistant: Dropbox displays a code, which REVIEWIT exchanges for a durable authorization. No password or application secret is shared.
A personal Dropbox account cannot be connected: the collection reads a team.
021. Create the application #sec_54ae030b
On https://www.dropbox.com/developers/apps , with a team administrator account:
- Create app ;
- Scoped access , then Full Dropbox ;
- Name it, for example REVIEWIT Collect . If Dropbox rejects the name, add your organization's name to it.
The developer console is in English.
032. Grant the scopes #sec_94b94df6
Permissions tab, check the seven scopes that REVIEWIT uses in the Prepare step of the assistant:
| Scope | What it opens |
|---|---|
| team_info.read | The team's identity, which verification reads |
| members.read | Members, administrators, and their roles |
| groups.read | Groups, their managers, and their members |
| sessions.list | Applications linked by members |
| team_data.member | Reading on behalf of a member or administrator: spaces, shares, team folder access |
| team_data.content.read | Team folders |
| sharing.read | Shared folders, their access, and sharing links |
Team scopes are at the bottom of the page (« Team Scopes »). account_info.read is checked by default and the rest. Do not check any write scope, nor team_data.team_space : reading does not require it.
Click Submit at the bottom of the tab: without this click, the scopes are not saved.
Dropbox automatically links two governance scopes to team_data.member . REVIEWIT does not call any of their operations: each operation it is entitled to perform is written in the resource contract, and nothing else is sent.
043. Retrieve the application key #sec_22b9d16e
Settings tab, retrieve the App key . This is not a secret. The App secret remains in the console: REVIEWIT never asks for it.
054. Declare and authorize #sec_160a24fb
In the connection assistant, step Identifier :
- Dropbox app method, then the App key ;
- Open the authorization page: Dropbox opens in a new tab. If the team administrator is another person, Copy the link and send it to them ;
- the administrator accepts ; Dropbox displays a code ;
- paste the code into the assistant and click Use this code .
Keep the assistant screen open in the meantime: the code is only valid with it, and is used only once.
065. Verify #sec_c53541fc
Verify requests access to Dropbox, reads the team identity and displays the scopes granted to the authorization, then the verdict of each resource. A scope added afterward requires a new authorization: an authorization keeps the scopes from its birth.
The authorization is kept in the REVIEWIT vault, never in clear text, and does not appear in any evidence. It does not expire by itself: REVIEWIT only re-requests its access at each passage.
07What REVIEWIT reads #sec_307c45c3
The members and administrators, the groups and their managers, the linked applications, the spaces and team folders with their access, the shared folders, their access and the sharing links. Never the content of a file.
A person's shares are read in their name: a member whose Dropbox refuses reading is counted in a passage notice, without retaining the rest.
08If something fails #sec_633ec5b6
| What you see | What to do |
|---|---|
| invalid_grant at « Use this code » | The code has already been used or has expired: reopen the authorization page and paste the new code |
| invalid_grant at the verification of an existing connection | The application has been unlinked from the team: replace the authorization from the connection's record |
| invalid_client | Dropbox does not know this key: retrieve the App key again |
| « This app is linked to a single Dropbox account » | The authorization was given by a personal account: check the team scopes, Submit , then authorize as the team administrator |
| missing_scope in a passage report | A scope was not registered at authorization: check it, Submit , then replace the authorization |
09To go further #sec_6e1c10ba
- Understanding a collection connection
- Rights reference by resource
- Reading a verdict