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

Forum Discussion

philipkd's avatar
philipkd
Collaborator | Level 8
9 years ago
Solved

What is the purpose of APP_SECRET in v2?

I'm migrating Permanote (formerly Nebulous Notes) to v2, and in doing some housekeeping, I noticed that the APP_SECRET is not used anywhere. I've been getting by without it for a couple of months now. I also checked the DBRoulette sample app, and it too doesn't seem to use the Secret.

 

Is this something to do with 0Auth2 not needing it? I'm just curious, so I can remove it from my code for good if it's truly un-needed. Or maybe I do need it?

4 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    That's correct, when using the OAuth 2 'token' flow, such as in client-side apps like on iOS, the app secret is not necessary.
  • philipkd's avatar
    philipkd
    Collaborator | Level 8
    9 years ago

    Follow-up question:

     

    The Obj-C SDK suggests running this line for migration:

     

    [DBClientsManager checkAndPerformV1TokenMigration:]

    However, I don't see that in the SDK code.

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!