Just a quick notice on this, now regarding Google.

Now that i have bandwidth again i could reverify all accounts
i have, and some i had "reset" the oauth-helper.py configuration
of (ie removed refresh_token and access_token).

. Google
  It turned out that Google no longer allows flow=auth for
  authorization requests (at least not the first), so the _only_
  valid way of gaining authorization (the refresh_token) is via
  flow=redirect.  This seems to have happened in early 2023, said
  the error page to which i had been redirected.

  So: to authorize one needs flow=redirect (and remember that this
  starts an internal temporary HTTP server to which the browser
  redirects: they must run in the same namespace/container/etc),
  thereafter flow can be changed to flow=auth.

. Microsoft now works flawlessly (for me), they simply wanted the
  scope= to be transmitted each and every time (which contradicts
  their own RFC which documents this OAuth thing).  (flow=auth.)

. Yandex just works, but needs the documented lengthy setup.
  (I use devicecode for them.)

In short: i updated the --action=manual for all providers with the
above, and uploaded the resulting script to [1] again.  No other
changes.

  [1] https://git.sdaoden.eu/browse/s-toolbox.git/plain/oauth-helper.py

  Note: user "moon", password "mars", as in:

  $ curl -u moon:mars --basic -O 
https://git.sdaoden.eu/browse/s-toolbox.git/plain/oauth-helper.py

Ciao.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
|~~
|..and in spring, hear David Leonard sing..
|
|The black bear,          The black bear,
|blithely holds his own   holds himself at leisure
|beating it, up and down  tossing over his ups and downs with pleasure
|~~
|Farewell, dear collar bear

Reply via email to