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

[BUG] google drive says app not secure to connect #147

Open
johannm2018 opened this issue Dec 6, 2019 · 89 comments
Open

[BUG] google drive says app not secure to connect #147

johannm2018 opened this issue Dec 6, 2019 · 89 comments

Comments

@johannm2018
Copy link

Describe the bug
When you odrive for first time and connect to google account, google tells you " you re trying to connt from browser or app witch not is secure...."

so it's imposible to connet to google drive...

Desktop (please complete the following information):

  • OS: Mint 19.2

Thx !

@johannm2018 johannm2018 added the bug label Dec 6, 2019
@rafaone
Copy link

rafaone commented Dec 6, 2019

image

Same error here, just got this message:

You are trying to sign in from a browser or app that doesn't allow us to keep your account secure.

@pkgacek
Copy link

pkgacek commented Dec 14, 2019

Same issue here. The sign-in page should open in default browser maybe?

@bpowell2008
Copy link

image

Same here.

@kian1991
Copy link

And yes, same here :D I am using 2FA might that be the Problem?

@Xwzyk
Copy link

Xwzyk commented Dec 19, 2019

Same here :/

@drojasd
Copy link

drojasd commented Dec 20, 2019

Same here. OS: OpenSuse 15.0

@MythikAngel
Copy link

Same problem. Manjaro KDE | odrive-bin 0.3.0-1 (installed from AUR)

@pablodegrande
Copy link

Same here. Windows & Ubuntu

@lapu2x
Copy link

lapu2x commented Dec 28, 2019

Same Problem here
Ubuntu 18.04.3 LTS

@kirk276
Copy link

kirk276 commented Dec 28, 2019

Describe the bug
When you odrive for first time and connect to google account, google tells you " you re trying to connt from browser or app witch not is secure...."

so it's imposible to connet to google drive...

Desktop (please complete the following information):

  • OS: Mint 19.2

Thx !

I'm haveing the same issue as everyone else it seems, ubuntu 18.04, set chromium as default browser and that didn't help. i'm signed in to google account in chromium and with gnome. just can't do it with ODrive.

@caguiar
Copy link

caguiar commented Dec 28, 2019

Same Problem here
(K) Ubuntu 19.10

@zLuCaS2K
Copy link

Same Problem here
Windows 10 1909

@StoneyFish
Copy link

Same Problem here
Ubuntu 19.10

@ghost
Copy link

ghost commented Jan 1, 2020

Having the same issue as well.
Using: Arch

@jwi84
Copy link

jwi84 commented Jan 3, 2020

Same issue here
Manjaro 18.1.5

@robertobermudez
Copy link

Same Issue here

Ubuntu 18.04

@rektosaure
Copy link

Any news on this? Is this great project still alive?

@RudahXimenes
Copy link

Google changed their API, so now they consider non-browser apps as insecure. The way to change this is doing some kind of xdg-open on the ODrive to catch the token.

A possible palliative solution is find the database which stores the token and insert it manually.
I tried to find the database by myself, but I couldn't found.

If someone know coding, please help us.

@pablodegrande
Copy link

pablodegrande commented Jan 5, 2020 via email

@kian1991
Copy link

kian1991 commented Jan 5, 2020

Well guys, this is just outdated. I downloaded the source and built it with new electron-bundler (the GUI Framework). And guess what it is working again. So either someone is forking this and continue developing or the devs would become active again.

@RudahXimenes
Copy link

@kian1991

If someone want to fork it should be really nice. But if it not happen, there are the VGrive, which still in development.

But in VGrive there is only one maintainer and have some bugs that still in progress. If someone knows Vala / C / C# and wants to help the guy, it will be really good.

@kirk276
Copy link

kirk276 commented Jan 7, 2020

Well guys, this is just outdated. I downloaded the source and built it with new electron-bundler (the GUI Framework). And guess what it is working again. So either someone is forking this and continue developing or the devs would become active again.

Any chance you can post detailed instructions on how to do this for thouse of us that are new to Linux, I tried removing and reinstalling ODrive with the same result as privous.

@markojaadam
Copy link

One hacky solution is to retrieve the AuthURL from console log, than manually paste into the broswer and give access to ODrive:
Check ../ODrive/node_modules/google-auth-library/lib/auth/oauth2client.js after npm install and insert
console.log(rootUrl + '?' + querystring.stringify(opts)); into line 125:

OAuth2Client.prototype.generateAuthUrl = function(opt_opts) {
  var opts = opt_opts || {};
//...
//...
  console.log(rootUrl + '?' + querystring.stringify(opts));
  return rootUrl + '?' + querystring.stringify(opts);
};

than you will get the Auth URL during npm start on console output which you can open in browser:

Generating oauth url
https://accounts.google.com/o/oauth2/auth?access_type=offline...
GET /connect 302 3.489 ms - 628

@kirk276
Copy link

kirk276 commented Jan 10, 2020

Ok I'm still having the same problem, even though one guy claims the bug to be fixed. Did a fresh install and still no change. And I don't have any programming experience outside of basic on a trs 80 back in the early 80's. Anyone have a solution a mortal can understand?

@rodrigo-sumar
Copy link

Same Issue here

Debian 10.2

@jmanfer8
Copy link

A workaround that work from is to launch opendrive and instead of using the electron browser that is launched, open other browser like firefox and navigate to "127.0.0.1:16409/settings" and follow the configuration steps in this browser.

@pendashteh
Copy link

  console.log(rootUrl + '?' + querystring.stringify(opts));

This helped me move on from the Error page. However, on return from Google I get this error on the browser:

Error: invalid_grant
    at Gaxios._request (/path/to/odrive/node_modules/gaxios/build/src/gaxios.js:85:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)

@Samael1982
Copy link

same. Ubuntu 18.04

@kreezxil
Copy link

kreezxil commented Mar 28, 2020 via email

@cserpell
Copy link

I used to use grive2, it worked well, but required heavy effort of command line commands in order to work, and also it failed sometimes writing over files. Than I changed to ODrive and I love it.

@ericdallo
Copy link

grive2 is with the same problem because google changed the authorization for third apps limit.

@thatSchloesser
Copy link

thatSchloesser commented Mar 31, 2020

Same issue. Tried workarounds with same subsequent errors. Like @arbaes said, I think we're waiting on @liberodark to go through application process with Google

@x80486
Copy link

x80486 commented Apr 7, 2020

are there open source alternatives that actually work?

Indeed, @kreezxil, VGrive (published also as Flatpak) works pretty good; I don't have any problems so far with it, but I'm not an everyday user, just a casual one.

@kreezxil
Copy link

kreezxil commented Apr 7, 2020 via email

@Sc0utonlinux
Copy link

@kreezxil thank you for making me aware of VGRIVE! I just installed it using flatpak -- so far so good!
Great app 👍

@domcabral9
Copy link

VGRIVE

It worked for me !! Thanks !!

@blurrred
Copy link

Just downloaded VGrive from AUR on Manjaro XFCE. Setup was easy but it appears to sync all of Google Drive to the computer.
I'd like to be able to choose what folders/files are synced.

@kreezxil
Copy link

kreezxil commented Apr 18, 2020 via email

@liberodark
Copy link
Owner

Is not dead project need to fix this.

@tadeuwaf
Copy link

tadeuwaf commented May 5, 2020

O google informa que o navegador que o odrive utiliza não é seguro e nao autoriza o login .
Também uso linux mint
(traduzido do portugues pelo goolge tradutor)

Google informs that the browser odrive uses is not secure and does not authorize login.
I also use linux mint
(translated from portuguese by goolge translator)

Captura de tela de 2020-05-04 21-02-49

@melomane63
Copy link

melomane63 commented May 8, 2020

jmanfer8 commented on 16 Jan
A workaround that work from is to launch opendrive and instead of using the electron browser that is launched, open other browser like firefox and navigate to "127.0.0.1:16409/settings" and follow the configuration steps in this browser.

tanks jmanfer, work here

@liberodark
Copy link
Owner

liberodark commented May 17, 2020

but if you want to make a pr im ok !
But is not very simple google api is very limited... :(
Vgrive is good alternative if you want to use now a oss software.
And now im work on many project that is a problem not have time for fix and rework sync too.
Today have work on new project too but is a long project.

@theoamonteiro
Copy link

theoamonteiro commented May 22, 2020

A workaround that work from is to launch opendrive and instead of using the electron browser that is launched, open other browser like firefox and navigate to "127.0.0.1:16409/settings" and follow the configuration steps in this browser.

image
Cannot sign in, still...

Same here... Installed from .deb on Ubuntu 18.04 LTS

@davidphysdavalos
Copy link

A workaround that work from is to launch opendrive and instead of using the electron browser that is launched, open other browser like firefox and navigate to "127.0.0.1:16409/settings" and follow the configuration steps in this browser.

It does't work for me, it says that the app is not verified by google yet

@Setinggil
Copy link

After many trial & error, I get this work.

Combine @GeethanadhP method

if found this solution

1. Clone the repo

2. Create an oauth app in google api console

3. Update the api, secret value in `config/globals.js`
5. As you will be the only one using, though it will show "insecure" login page, you can select advanced and continue insecure way

6. As you will be the only user, you don't have to submit the app for verification

Note: Update the below css path in webpack.config.js (remove the url with prefix - donno why that was changed, but that made the ui not load the css)

  new MiniCssExtractPlugin({
      filename: '/stylesheets/styles.css',
    })

and @markojaadam method

One hacky solution is to retrieve the AuthURL from console log, than manually paste into the broswer and give access to ODrive:
Check ../ODrive/node_modules/google-auth-library/lib/auth/oauth2client.js after npm install and insert
console.log(rootUrl + '?' + querystring.stringify(opts)); into line 125:

OAuth2Client.prototype.generateAuthUrl = function(opt_opts) {
  var opts = opt_opts || {};
//...
//...
  console.log(rootUrl + '?' + querystring.stringify(opts));
  return rootUrl + '?' + querystring.stringify(opts);
};

than you will get the Auth URL during npm start on console output which you can open in browser:

Generating oauth url
https://accounts.google.com/o/oauth2/auth?access_type=offline...
GET /connect 302 3.489 ms - 628

Use Odrive-0.3.0 on Ubuntu 20.04.

@goedible
Copy link

One hacky solution is to retrieve the AuthURL from console log, than manually paste into the broswer and give access to ODrive:
Check ../ODrive/node_modules/google-auth-library/lib/auth/oauth2client.js after npm install and insert
console.log(rootUrl + '?' + querystring.stringify(opts)); into line 125:

OAuth2Client.prototype.generateAuthUrl = function(opt_opts) {
  var opts = opt_opts || {};
//...
//...
  console.log(rootUrl + '?' + querystring.stringify(opts));
  return rootUrl + '?' + querystring.stringify(opts);
};

than you will get the Auth URL during npm start on console output which you can open in browser:

Generating oauth url
https://accounts.google.com/o/oauth2/auth?access_type=offline...
GET /connect 302 3.489 ms - 628

I wonder if this is this working for others and if so, would someone be willing to post a video or more detailed instructions for dummies?

@speaktomyagent
Copy link

Screenshot_20200701-072300

@mahuber
Copy link

mahuber commented Aug 18, 2020

Is the bug now fixed? I have still the same problem

@kreezxil
Copy link

kreezxil commented Aug 19, 2020 via email

@facoratmaxime
Copy link

facoratmaxime commented Sep 1, 2020

It seems that it's fixed now... Copying and deleting local to/from Google Drive servers
Screenshot from 2020-09-01 23-56-06
I just tried one more time to disconnect and reconnect today, and surprisingly it worked...
I used version 0.3.0 ( https://github.com/liberodark/ODrive/releases/tag/0.3.0 ), Ubuntu 20.04

@gonultasbu
Copy link

Doesn't work still for me on ubuntu 18.04

@kreezxil
Copy link

kreezxil commented Sep 12, 2020 via email

@23bipin
Copy link

23bipin commented Dec 2, 2020

Apparently if you create an account there on the dialog box instead of signing in, it works for that newly created account. Does not help me as I want my sync from my existing account. Might be helpful for some if you want a fresh start.

@Ratteler
Copy link

Linux users I recommend using https://www.insynchq.com/downloads and it's the Manjaro Aur system. It actually used my browser so no issue with https and i'm syncing down my 15gb of data finally.

I paid for "insynchq" and "OverGrive. What I got was a terabyte of corrupter files.
Most had date in front of the file.
A vast number had the filename "(convicted)" along with an odd "datename".
There was NO discernible pattern as to which were empty or mangled files, which had misnamed relevant data, and which had old versions of files I had deleted.

It was BAD enough, that found an old Machine with a solid 200GB of archived data, and after using that as my reliable backup, I deleted everything in Google Drive using the web interface, and then waited a week for Google to catch up with my requests.

I deactivated everything with my Google drive access, and cut off all programs accessing my Google drive for over a month.
I then began installing new Linux Mint 20.10 XFCE on all my main systems.

As soon I re-installed and connected insynchq, my trash began to fill with files that had been delete compleatly over a month ago.

I can only assume that the developers never used Google Drive on either a Windows or Mac, because this behavior is something unlike anyone would want.

The WORST thing about insynchq is that attempt to end your sync with Google Drive force the deletion of all files on the device insynchq on the device?

Probably THE best feature of Google Drive was it's ability leave a directory of offline files. With insynchq,, THE EXACT OPPOSITE BEHAVIOUR IS FORCED!!!

These products are NO solution for Google Drive.

@Ratteler
Copy link

InSync was the best investment, one time fee, lifetime license, unlimited installs if used on your email that you registered with. you can quickly get there by following https://kreezcraft.com/its-worth-it

On Sat, Sep 12, 2020 at 12:26 AM Burak Mert Gonultas < @.***> wrote: Doesn't work still for me on ubuntu 18.04 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#147 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCHSYIJZUO6KCR4OARLSFMA7HANCNFSM4JW2GINA .

i'm glad it satisfied YOUR needs.

If they had paid ME, it wouldn't be worth the data loss, corruption, and downtime caused by Insynch.
Sadly I guess too many of us are too busy trying to rebuild our Google Drives from archives to be able class action www.insynchq.

@Davidos533
Copy link

not works MX Linux KDE
cannot login
error 401

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

No branches or pull requests