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

Add auth code manually #125

Open
flhoest opened this issue Jul 18, 2024 · 1 comment
Open

Add auth code manually #125

flhoest opened this issue Jul 18, 2024 · 1 comment

Comments

@flhoest
Copy link

flhoest commented Jul 18, 2024

@here I'm trying to setup this package on a headless Linux machine running in the wild. I can authorize the app, but at the end of the process it is redirecting on a 127.0.0.1 URL of course it does not work since this is not running on the same machine. I'm copy pasting the URL provided by the gdrive add account to my machine in order to finalize the auth process.
How can I add the code manually ? Is there a procedure for full CLI deployment ? I have no mean to install a browser in my CLI machine.
Thanks !

@madaarya
Copy link

hi @flhoest , i don't know the best practice, but this is what i did:

  • generate manually on my local, it will generate files inside $HOME/.config/gdrive3/
  • copy all files from $HOME/.config/gdrive3/ into the server using scp . Use same target in the server ($HOME/.config/gdrive3/)

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

2 participants