cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Javascript SDK CLIENT_ID

Javascript SDK CLIENT_ID

dalal_subhranil
Explorer | Level 4
Go to solution

We have app in which we were using PHP SDK but unfortunately we don't have any updated PHP SDK 2.

Now we are trying to replace our code through javascript. We saw javascript use app's CLIENT_ID to genearte authenticate URL. But we are unable to find from where we can get CLIENT_ID for our app. Previously we were using App Key and App Secret for PHP SDK. None of these are working. Please help us to find out CLIENT_ID for our app.

 

Thanks

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
That error indicates that the "token" a.k.a. "implicit" grant is disabled for that app. You can re-enable it using the "Allow implicit grant" option on the app's page on the App Console:

https://www.dropbox.com/developers/apps

View solution in original post

5 Replies 5

Greg-DB
Dropbox Staff
Go to solution
The term "client ID" is just another name for "app key". You can get the app key for your app from the app's page on the App Console:

https://www.dropbox.com/developers/apps

If that's not working for you, please share the problematic code and the error you're getting.

dalal_subhranil
Explorer | Level 4
Go to solution

Thanks for your reply Greg.

 

When I use App Key for my app I am getting below response

 

Error (400)It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.


More details for developers

Implicit grant disallowed for this app ("response_type" can't be "token").

dalal_subhranil
Explorer | Level 4
Go to solution

Getting same error for both development and production app key.

Greg-DB
Dropbox Staff
Go to solution
That error indicates that the "token" a.k.a. "implicit" grant is disabled for that app. You can re-enable it using the "Allow implicit grant" option on the app's page on the App Console:

https://www.dropbox.com/developers/apps

dalal_subhranil
Explorer | Level 4
Go to solution

Thank you so much Greg. It worked. Let me getting my hands dirty with JS SDK. I am sure I will  come back with more question.

Need more support?