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.
https://authjs.dev/getting-started/providers/mastodon
I'm confused. Does this support any Mastodon instance or only m.s? It says you define the "issuer" yourself. As… an env var??!