derrix060 / onedriveClient

A Microsoft OneDrive and OneDrive for Business client for Linux, written in Python3.
MIT License
65 stars 10 forks source link

URL hijacking? #51

Open m397026474 opened 4 years ago

m397026474 commented 4 years ago

I got this: $ onedrive-client-pref account add -b WARNING:root:Failed to load config file: [Errno 2] No such file or directory: '/home/***/.config/onedrive_client/onedrive_client_config_v2.json'. Use default. NOTE: To better manage your OneDrive accounts, onedrive_client needs permission to access your account info (e.g., email address to distinguish different accounts) and read/write your OneDrive files.

Paste this URL into your browser to sign in and authorize onedrive_client:

https://login.microsoftonline.com/common/oauth2/authorize?client_id=6fdb55b4-c905-4612-bd23-306c3918217c&response_type=code&redirect_uri=https%3A%2F%2Fod.cnbeining.com&scope=U+s+e+r+.+R+e+a+d+++o+f+f+l+i+n+e+_+a+c+c+e+s+s

The authentication web page will finish with a blank page whose URL starts with "https://od.cnbeining.com". Paste this URL after the prompt. Paste URL here:

What is "https://od.cnbeining.com"?

abraunegg commented 4 years ago

@m397026474 Might be worth looking at this: