Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Workaround OAuth woes by allowing user specified Oauth credentials.#513

Open
colemickens wants to merge 2 commits intoprasmussen:masterfrom
colemickens:master
Open

Workaround OAuth woes by allowing user specified Oauth credentials.#513
colemickens wants to merge 2 commits intoprasmussen:masterfrom
colemickens:master

Conversation

@colemickens
Copy link
Copy Markdown

This allows the user to bypass current problems with gdrive by specifying their own oauth app credentials.

They can either place in this in ~/.gdrive/oauthClient.json or pass it as a command line flag --oauth-credentials.

This also converts to go mod / go modules because Godeps has taken enough from all of us.

@colemickens
Copy link
Copy Markdown
Author

Oh... I guess I duplicated #476. cc: @ppbrown @Exonip.

Anyway, this seems a bit more extensible, allows for command line override, lets the user use their own credentials because shared creds are likely to just be re-flagged without something else being done. (and gets rid of Godeps)

@gcerquant
Copy link
Copy Markdown

It worked. Thank you very much.

@caseyjkey
Copy link
Copy Markdown

caseyjkey commented Dec 20, 2019

Does this allow for variable length oauth credentials, ie addresses my issue?
#506 (comment)

@colemickens
Copy link
Copy Markdown
Author

@caseykey In short, yes, it would allow you to use those credentials. This is a fundamentally less hacky approach that editting the binary (no slight on that approach, it's a smart, easy option that will work for many people!).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants