You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Victor A.18
10 years agoNew member | Level 1
The Dropbox user ID of the authorized user returned by /oauth2/authorize is invalid
According to API documentation, the /oauth2/authorize request must redirect to redirect_uri and send uid of the authorized user as one of parameters.
I see uid parameter in redirect but the value of uid parameter is not a user-id of my user also it's not a member id. I don't know what it is at all. Actually it is shorter than regular user id.
How I can determinate which user has beed used to authorise the API access?
- Greg-DBDropbox Staff
Dropbox for Business API apps are linked to teams themselves (as opposed to Dropbox API apps, which are linked to individual users). This being the case, the uid returned by the authorization flow for Dropbox for Business apps is the ID of the team, not any particular user.
It's not currently possible to determine which admin for the team authorized the app, but I'll be sure to pass this along as a feature request.
- Victor A.18New member | Level 1
Thanks for your explanation, Gregory
Seems it's something like internal id of team because /team/get_info returns id like this dbtid: AAA-xxxxxxxxxxxxxxxx
- Greg-DBDropbox Staff
Yes, the integer version is a it's a different/older format for the team ID.
- Asala A.New member | Level 1
helps me to order information.
- Greg-DBDropbox StaffThe Dropbox API now offers a way to determine which admin authorized a particular access token:
https://www.dropbox.com/developers/documentation/http/teams#team-token-get_authenticated_admin
If you're using an official SDK, there will also be corresponding method for this endpoint.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 2 minutes agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!