tsiemens / gmail-tools

Cli Tools for Gmail filters
MIT License
11 stars 1 forks source link

Authorization process somehow involves a localhost server/url in some scenarios. #19

Open tsiemens opened 2 years ago

tsiemens commented 2 years ago

I'm not sure if Google changed their API/Llibrary, but it looks like you now need to paste some localhost url back into the terminal to complete the authentication.

The existing text around Go to the following link in your browser then type the ... is both not fantastically phrased, and also doesn't mention that the code might be a URL

Probably want to clean this up.

tsiemens commented 2 years ago

I made some improvements in 15d9b2e , but I could not replicate this localhost thing.

I'm not sure that's because of some setting in whoever's Google Console project, that then changed the behaviour of the oauth library.

I tried upgrading oauth2, but that did not appear to change how the authorization took place either...