>>268807 #
ok I think I made it a lot easier now. can you (or anyone) try this out?
https://codeberg.org/djvu/cosmo-util/src/branch/master/cosmo-login/cosmo-login.pyyou only need one module
pip install cryptography
then run
python cosmo-login.py <your cosmo email>
you'll get an email with a login code, enter it, then it should give you the tokens right away.