dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Broken authentication flow for Teams #127

Open jeromek opened 5 years ago

jeromek commented 5 years ago

During the oauth workflow I receive a 400 when trying to use the dbx-cli teams features. I'm the administrator of my team.

$ dbxcli team list-groups

  1. Go to https://www.dropbox.com/1/oauth2/authorize?client_id=sa9pv32eixm1i3p&response_type=code&state=state
  2. Click "Allow" (you might have to log in first).
  3. Copy the authorization code. Enter the authorization code here: [carefully pasted code here] Error: oauth2: cannot fetch token: 400 Bad Request Response: {"error": "invalid_client: Invalid client_id or client_secret"}

HOWEVER, everything does work for normal user level interactions.

version 3.0 darwin-amd-64 mojave 10.14.6 (18G87)

thanks for the otherwise awesome project!

jeromek commented 5 years ago

One thing I noticed was that in the oauth2/authorize page on dropbox.com, dbxcli-team-manage is the app requesting to access my team information, and thats a different app name than when you try to authorize a non-team api call

flaiming commented 3 years ago

I have exactly the same problem. Team auth is broken.