Is there a way that people can log in to NodeBB with fediverse (Mastodon, etc) accounts?
-
I'm considering starting up a NodeBB site, and one of the discussion topics is going to be the fediverse. Is there a way to let people log in with their existing fediverse accounts? If so, are there restrictions on what they'll be able to do?
-
Not built-in and there sadly isn't a universal sign in standard in the fediverse.
Instead Mastodon API allows for dynamic OAuth implementation where the app (here NodeBB) can register itself on the user's server and then allow the user to sign in via that server. This should cover most of fediverse in practice (since even software that isn't Mastodon tries to implement its API nowadays).
So in practice it'd be possible to implement this via a plugin mostly similar to existing OAuth plugins.As for restrictions, you can probably just make such plugin add some "fediverse" role and just configure persmissions using this.