Forum Discussion

senthilnathan's avatar
senthilnathan
Explorer | Level 3
6 years ago

how to get authentication key (access token) fromlogin

Hi sir,

 

                  how to get authentication key (access token) from login as per scannervision exe 

 

1. in my project we upload file to dropbox by vb code now i get the access token or client id from dropbox api.

2. Now i need to get the authenticatio or access token directly after login ,not from dropbox api.

3. Like scannervision exe we chosse authentication button first login window show in that we given login  detail automatically show the access token show like that i want to show access token in my textbox after login.

4. Once we get access token after some time we use same token or we use new token. 

 

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    In order to get an access token for the end-user, you should implement the OAuth app authorization flow in your app. You can find information on this in the OAuth Guide and authorization documentation. Once you retrieve the access token for a user, you can store and re-use it for that user.

     

    We also recommend using one of the official SDKs, if possible for your scenario, as they will do much of the work for you.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!