You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hi, first, thanks for your efforts with keeping this tool alive!
I think the recent change in Google Auth still gives issues, although I understand this was tried to address in that fork.
When running ./gdrive about and connect to that local URL, I get the following error:
The reason will be displayed to describe this comment to others. Learn more.
Sure, no worries. FYI, I've managed to get it working via another fork. See prasmussen#645
The fork doesn't do anything useful other than removing the ability to not hard-code your app credentials in the gdrive binary. If you want to do that, building my repo with go build -ldflags "-X github.com/msfjarvis/gdrive/handlers_drive.ClientId=${CLIENT_ID} -X github.com/msfjarvis/gdrive/handlers_drive.ClientSecret=${CLIENT_SECRET}" will achieve the same thing.
The reason will be displayed to describe this comment to others. Learn more.
Ah OK. I guess many gdrive users might just be confused w/ the recent changes in Google auth, and that we need to setup credentials via Google console ourselves, etc. Hence the discussion in that thread/issue was helpful, for me, even if the fork apparently doesn't do much beyond.
0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, first, thanks for your efforts with keeping this tool alive!
I think the recent change in Google Auth still gives issues, although I understand this was tried to address in that fork.
When running ./gdrive about and connect to that local URL, I get the following error:
Any help on that would be much appreciated.
0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't provide help with using this repository, I don't maintain it as an open source project.
0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, no worries. FYI, I've managed to get it working via another fork. See prasmussen#645
0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fork doesn't do anything useful other than removing the ability to not hard-code your app credentials in the gdrive binary. If you want to do that, building my repo with
go build -ldflags "-X github.com/msfjarvis/gdrive/handlers_drive.ClientId=${CLIENT_ID} -X github.com/msfjarvis/gdrive/handlers_drive.ClientSecret=${CLIENT_SECRET}"
will achieve the same thing.0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah OK. I guess many gdrive users might just be confused w/ the recent changes in Google auth, and that we need to setup credentials via Google console ourselves, etc. Hence the discussion in that thread/issue was helpful, for me, even if the fork apparently doesn't do much beyond.
0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@msfjarvis Could you tell what should be location of the file
oauth_client.json
https://github.com/msfjarvis/gdrive/blob/main/handlers_drive.go#L22 on a linux system?0b01f6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~/.config/gdrive/oauth_client.json
The contents should look like this