pcloudcom / console-client

428 stars 130 forks source link

Command-Line login with third-party oauth provider (google, facebook) #92

Open sschepis opened 5 years ago

sschepis commented 5 years ago

there needs to be a way to login using a third-party oauth provider (google, facebook) via the command-line. As of this moment, folks with these types of accounts cannot use the command-line tool.

dbonattoj commented 4 years ago

Is there any news from this? I have the same issue I think.

The software stall like this:

pCloud console client v.2.0.1
Please, enter password
Down: Everything Downloaded| Up: Everything Uploaded, status is LOGIN_REQUIRED
logging in
Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING

Linked: https://github.com/pcloudcom/console-client/issues/79 Relevant PR: https://github.com/pcloudcom/console-client/pull/94

Bests

vigliensoni commented 1 year ago

Also supporting this request. This is very much needed.

grobitec commented 5 months ago

Hey, i have had the same trouble with pCloudCC.

After build and correct login

pcloudcc -u xy@ab.cm -p

only 'status is connecting' was ever displayed.

pCloud console client v.2.0.1
Please, enter password
Down: Everything Downloaded| Up: Everything Uploaded, status is LOGIN_REQUIRED
logging in
Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING

It seems to be an autehntification problem. When you try to connect to the pcloud via a web browser for the first time, you are asked for a verification code. You will receive this by email. As soon as you enter it, a token is created on the pCloud page for the IP from which you are accessing. From now on, the connection via the console also works using pcloudcc...

This means for me as a workaround:

The token is valid for one year, which means: 'same procedure as every year'

At least until pCloud AG gets its act together and implements the 2FA for pCloudCC correctly.

I hope this helps some of you. Maybe someone has a better solution.

Best regards

devices verify