oauth.dlma.com for Mastodon
Step One: Direct your user to the authorization URL
Click the Authorization URL and authorize this app, only if you trust it.
Step Two: Exchange the code token for a reusable access token.
See the source code for more, but this will get redirected back
here with a "code" token to exchange for an access token.
Done.