Calling madonctl oauth2 get-url -i pleroma doesn't work because:
Error: app registration failed: API query (v1/apps) failed: bad server status code (400): Missing field: client_name. Missing field: redirect_uris.
Which is down to it being a POST request with the parameters in the URL, not in the body. But this is easy to fix and means madonctl can now get-url and then code to get an access_token from Pleroma, Mastodon, and GotoSocial (except GTS needs the other fix for non-int64 IDs first.)
Oh, bother, yes, this was fixed in madon a while back and madonctl will have inherited that. Just tested it and it's working fine on my Akkoma instance.
Calling
madonctl oauth2 get-url -i pleroma
doesn't work because:Which is down to it being a
POST
request with the parameters in the URL, not in the body. But this is easy to fix and meansmadonctl
can nowget-url
and thencode
to get anaccess_token
from Pleroma, Mastodon, and GotoSocial (except GTS needs the other fix for non-int64
IDs first.)