We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

dalal_subhranil's avatar
dalal_subhranil
Explorer | Level 4
8 years ago

Javascript SDK CLIENT_ID

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

  • Greg-DB's avatar
    Greg-DB
    8 years ago
    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
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    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's avatar
      dalal_subhranil
      Explorer | Level 4

      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's avatar
        dalal_subhranil
        Explorer | Level 4

        Getting same error for both development and production app key.