Adds Mastodon OAuth authentication to your Schnack server.
Add a plugins.auth-mastodon section to your Schnack config file schnack.json:
{
"plugins": {
"auth-mastodon": {
"app_name": "XXX",
"app_website": "XXX"
}
}
}Then run
npm init schnack
- All you have to do is to define
app_nameandapp_websitein theplugins.auth-mastodonsection of yourschnack.json. Schnack will then create OAuth applications at Mastodon instances whenever a user tries to sign in (the users are asked to enter a Mastodon domain before signing in).