Hello.

Steffen Nurpmeso wrote in
 <20230314223059.awkol%stef...@sdaoden.eu>:
 |Steffen Nurpmeso wrote in
 | <20230314213206.paznm%stef...@sdaoden.eu>:
 ||Is anybody using the oauth-helper.py with Microsoft?
 | ...
 ||I am in the process of extending oauth-helper.py so that this can
 ||be automatized a bit (currently it fails hard because that
 | ...
 |
 |Now on [1]: instead of hard-failing for the no longer supported
 |access token refresh (i cannot believe this is really true), we
 |will now restart ourselfs to authorize.
 |Also a new configuration option "refresh_needs_authorize=y" (any
 |non-empty value) will forcefully skip over the useless try to
 |refresh the token.

To make this really work i have also added the -A / --automatic
option, so that we forcefully fail if interactivity would be
required.  (Also the --help output now fits in 25 lines.)

 |  [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-toolbo\
 |      x.git/plain/oauth-helper.py

--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)

Reply via email to