cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript SDK CLIENT_ID

dalal_subhranil
Explorer | Level 3

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

Re: Javascript SDK CLIENT_ID

Dropboxer
Dropboxer
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

Re: Javascript SDK CLIENT_ID

Dropboxer
Dropboxer
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.

Re: Javascript SDK CLIENT_ID

dalal_subhranil
Explorer | Level 3

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").

Re: Javascript SDK CLIENT_ID

dalal_subhranil
Explorer | Level 3

Getting same error for both development and production app key.

Re: Javascript SDK CLIENT_ID

Dropboxer
Dropboxer
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

Re: Javascript SDK CLIENT_ID

dalal_subhranil
Explorer | Level 3

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.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?