Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
philipkd
9 years agoCollaborator | Level 8
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?
- 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.
The checkAndPerformV1TokenMigration method is defined in the SDK, but it's relatively new, so make sure you have the latest version installed.
4 Replies
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
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. - philipkd9 years agoCollaborator | Level 8Thanks for the quick reply Greg!
- philipkd9 years agoCollaborator | Level 8
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.
- Greg-DB9 years ago
Dropbox Community Moderator
The checkAndPerformV1TokenMigration method is defined in the SDK, but it's relatively new, so make sure you have the latest version installed.
About 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!