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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

colemickens
Copy link

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
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

It worked. Thank you very much.

@caseyjkey
Copy link

caseyjkey commented Dec 20, 2019

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

@colemickens
Copy link
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