Auth0 Home Blog Docs

invalid request -> dropbox sso



I’m getting the following response when I attempt to login with dropbox:

  "date": "2017-08-19T18:04:33.104Z",
  "type": "f",
  "connection": "dropbox",
  "connection_id": "con_ljI011bgfc1aLbDg",
  "client_id": "####",
  "client_name": "fb-dropbox",
  "ip": "",
  "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36",
  "details": {
    "body": {},
    "qs": {
      "state": "HAJw0s9QT6Xd4QAIVOaVr07MXb2OaRAh",
      "code": "P5XoDeAduh8AAAAAADb7RbEz4oCNgDZi5kenCx6HOq1"
    "connection": "dropbox",
    "error": {
      "oauthError": "invalid_request",
      "type": "request-error"
  "strategy": "dropbox",
  "log_id": "49574419589858254662355404356841972782541354419166904354"


The invalid_request error suggests there was an issue during the completion of the OAuth2 transaction, in particular, after the user logins and authorizes the application, the Auth0 service will need to exchange the received authorization code for an access tokens and then obtain user information.

One possible explanation for the error in question would be that you incorrectly configured the client secret in the Dropbox connection which would then cause client authentication to be rejected by Dropbox and the whole transaction to fail.

In particular, I was now configuring a Dropbox connection and add some issues with copy/pasting the secret provided in the Dropbox page because the text selection of the value did not work properly at the first time and I ended up pasting the client identifier also as the secret. Review your current configuration, you can use the Reveal client secret option to make sure it has the right value.