You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cb48c95 added a check to the endpoint /.well-known/oauth-authorization-server. Unfortunately, on Akkoma (and likely Pleroma, though I haven't checked), this endpoint doesn't exist. What's more, instead of returning the status code 404, it instead returns a code of 200 and a body containing the instance's web UI homepage.
This check can be skipped in Mastodon.auth_request_url() by passing skip_server_info=True. However, it's unavoidable when calling Mastodon.log_in(), as well as a few other methods.
I'll submit an issue to the Akkoma tracker as well, since this really shouldn't be happening on their side. But since this currently affects, to my knowledge, all Akkoma servers -- and many may take some time to update -- it might be worth adding a skip_server_info or similar parameter to either the individual methods or to Mastodon.__init__() itself?