Project URL: https://glitch.com/~masto-auth
Complete with resend confirm, resert pw, register, normal and 2fa logins, remembering data and a noice ui. Was more work than expected lel.
(Should be used with personal instances, it will poll the api of your network with the data / open a headless browser for the auth posting)
may not work with every mastodon instance, like mastodon.social
Is only as a demonstration of the API / a possible way to check auths.
You should use oAuth2 if you can instead of this rubbish.