Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid client_id when trying to get authorization code #79

Closed
mndrix opened this issue Dec 1, 2017 · 5 comments
Closed

Invalid client_id when trying to get authorization code #79

mndrix opened this issue Dec 1, 2017 · 5 comments

Comments

@mndrix
Copy link

mndrix commented Dec 1, 2017

I've installed dbxcli via "go get" since binaries are not available for OpenBSD. When I copy and paste the OAuth URL I get this error:

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
Invalid client_id: "mvhz183vwqibe7q".

Issue #62 resolved this problem by installing the latest binaries. Since those aren't available for my platform, how should I proceed? Thanks.

@diwakergupta
Copy link
Collaborator

@mndrix yes, 'go get' won't work because the credentials in the code base are "dummy". If you are really motivated, you can register your own apps (https://www.dropbox.com/developers/apps) and build using your own credentials. It'll be simpler though for me to just add OpenBSD to the list of generated binaries -- only caveat is that I have no way of testing them, so you'll be on your own there.

LMK if that works for you and I can generate a new release with OpenBSD binaries. Can you provide the exact OS/Arch combo you are using?

@mndrix
Copy link
Author

mndrix commented Dec 2, 2017

That sounds good to me.

$ uname -srp
OpenBSD 6.1 amd64

@diwakergupta
Copy link
Collaborator

@mndrix try the binary from the latest releases page and LMK!

https://github.com/dropbox/dbxcli/releases/latest

@mndrix
Copy link
Author

mndrix commented Dec 4, 2017

The OpenBSD binary release is working fine for me. Thanks

@rustyx
Copy link

rustyx commented Aug 27, 2022

dbxcli should print a warning if started with dummy credentials, explaining the issue.

Not everyone reads installation instructions since go install is usually the way to install a Go tool.

And BTW, the instructions are incomplete as one also needs to add scopes (files.metadata.read, etc. are not enabled by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants