Dear all,

I coded up a workaround based on the original script which is available here
<https://gitlab.kuleuven.be/u0158737/msoauth2>.  It now acts like Thunderbird by
default (so there is no need to manually add client_id/secret) and is modified
to support the Microsoft flow specifically (so no more provider flag).  The
thing that changed recently is the callback, which now has to use SSL.  The
original script did not support this and hence gets stuck.  Unfortunately, I
can't generate SSL certificates directly in Python (I think) so you'll first
have to run gen-cert.sh before running msoauth2.py for the first time (these
certificates are valid for one year, but should only be needed on the first
run).  This involves some manual intervention, but you can mostly just press
return, however, the _Common Name_ must be set to 127.0.0.1.  Everything else
should be identical to before (except for the script's name).

Getting out own client ID and secret from ICTS would still be preferable, but in
the meantime we are not locked out.

-- 
Kind regards,
Evert