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

Symbiont's avatar
Symbiont
New member | Level 2
2 years ago

oauth 2.0 and generating access token and refresh token using a headless browser

is it possible to use a headless browser to sign in to your dropbox via my app and request a access token and refresh token?

i'm using powershell with selenium and headless edge browser.

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

     

    You should not use a headless browser to sign into your Dropbox to request an access or a refresh token. This process should be done by the user at least once, per account.

     

    However, the refresh token does not expire so it can be reused.

     

    Feel free to reference the OAuth guide for more information: https://developers.dropbox.com/oauth-guide

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,918 PostsLatest Activity: 2 days ago
334 Following

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!