I am writing a Astro app. Astro relies on plugins to provide user authentication. I would like to authenticate using Fediverse oauth.

I tentatively pick auth.js for my user authentication library (but replies suggesting I use something else are welcome. Is BetterAuth better?!).

Auth.js has a series of auth "providers". One of them is Mastodon.

authjs.dev/getting-started/pro

I'm confused. Does this support any Mastodon instance or only m.s? It says you define the "issuer" yourself. As… an env var??!

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/115035093172996420 on your instance and quote it. (Note that quoting is not supported in Mastodon.)