We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

mbm123's avatar
mbm123
Explorer | Level 4
4 years ago

Access without an "app"

Hey,

I was wondering if it is possible to access a dropbox account without the token generated in the app console.

What I mean is, can I use an api on my python script that will query an input dropbox account (and password obviously) for files and then retrieve it?

 

As far as i've seen, I can only connect via the token to the account that generated it.

 

Thank you

  • avstudio's avatar
    avstudio
    Explorer | Level 4

    I think it is possible, I access to my account from the computer without any verification code, maybe if you look up in your profile page in settings > Security, there are many options to try. 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    mbm123 Performing Dropbox API calls, such as to list and download files from a Dropbox account, does require an access token; they can't be performed using the account username and password directly.

    • mbm123's avatar
      mbm123
      Explorer | Level 4
       
      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        mbm123 Third party apps enable end-users to connect their Dropbox accounts by implementing the OAuth app authorization flow. This is a way for third party apps to ask the user to allow the app to access the user's account. When the user approves an app using this flow, the app is given an access token. You can find more information on how this flow works in the OAuth Guide and authorization documentation.

  • vimalapalanisamy22's avatar
    vimalapalanisamy22
    New member | Level 2
    Currently we are using few Dropbox api method. We are using Authorization flow in which response code ,scope ,client id passed.this will give me Authorization code and i need to pass them to token api which will return access token. Is there any way to automate this process- exchanging Authorization code for access token. Or Dropbox can use api for Authorization flow for instead of this website.
    • Greg-DB's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff

      vimalapalanisamy22 No, it is not possible to automate the app authorization flow. That will need to be processed manually once per user. The resulting access token and optional refresh token can be stored and re-used programmatically. Refer to the OAuth Guide and authorization documentation for more information.

      • vimala_palanisamy22's avatar
        vimala_palanisamy22
        Explorer | Level 3
        Let's say ,I am team admin in my team there are 3 members-not admin role are there ..all of them are creating full Dropbox apps. I have added them in the settings->app permission ->other apps..now as a team admin how can I generate a token for the apps that was created by other members without using Authorization flow.