One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
1621449
3 years agoExplorer | Level 3
Need API to get device codes and Redirect URL
In this first step we executed the “https://www.dropbox.com/oauth2/authorize?client_id=fcfu96aau5vs2rw&response_type=code” call in postman we got the below response with 200 OK (which is success message)
But the same call when executed in browser we observed the following behavior ,
After selecting “Allow” button we observed the below Screen
But the behavior should be like when we call the API ,Dropbox should return “user code” and URL where we enter the “user code” to authenticate.
We didn’t find the above mentions behavior.
STEP2: The code which we got from above step “9UOc7IydP3AAAAAAAAAAtN-x3o5OKWxmJYiZ6Q0RtB4” is used as Authorization code for the below API call to get access token
- Greg-DB
Dropbox Staff
Based on your reference to "user code" and "device code", it sounds like you're looking for the OAuth 2 "device flow". Dropbox does not currently offer support for the OAuth 2 device flow, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
Dropbox currently only offers the "code" (preferred) and "token" grants. You can find more information on using them in the OAuth Guide and authorization documentation.
- 786999Explorer | Level 3
<Support ticket information redacted>
- Greg-DB
Dropbox Staff
786999 It looks like you're referring to some early/private access granted to you in a support ticket. For any help with that, please follow up directly on that support ticket, or open a new ticket with API support here.
About Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 3 days ago
If 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!