I'm trying out the #android #mastodon app, unsuccessfully trying to log into my self-hosted instance.
First I had to add a redirect for "/oauth/" from my "main" domain to the Mastodon subdomain for some reason.
Now I get a '404' toast after "approving" the permissions. Checking the server logs:
GET /api/v1/apps HTTP/2.0 404
mastodon-web-1 | ... method=GET path=/api/v1/apps format=html controller=ApplicationController action=raise_not_found status=404 duration=0.93 view=0.48 db=0.00