Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Karmo's avatar
Karmo
New member | Level 2
2 years ago
Solved

DropBox Auth for backend

I am developing an app that requires to read metadata from dropbox files. This backend has no interraction with the user directly. I am having difficulties finding a way to get backend authenticated by itself without the requirement of the developer needing to give it a new session auth every 4 hours or so. Using refresh tokens it seems the backend needs to now know clientID alongside the secret. Is there another way I am not seeing?

  • Hello Karmo,

    While retrieving the access token and refresh token for the Dropbox API, you would usually need the client_id (app key), and client_secret (app secret). However you could implement PKCE with the Dropbox API without the client_secret (app secret). For further information, please review the following below:

1 Reply

Replies have been turned off for this discussion
  • iNeil's avatar
    iNeil
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago
    Hello Karmo,

    While retrieving the access token and refresh token for the Dropbox API, you would usually need the client_id (app key), and client_secret (app secret). However you could implement PKCE with the Dropbox API without the client_secret (app secret). For further information, please review the following below:

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from 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!