@schnack/plugin-auth-mastodon

0.2.1 • Public • Published

auth-mastodon

Adds Mastodon OAuth authentication to your Schnack server.

Usage

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

Preparation

  • All you have to do is to define app_name and app_website in the plugins.auth-mastodon section of your schnack.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).

Package Sidebar

Install

npm i @schnack/plugin-auth-mastodon

Weekly Downloads

0

Version

0.2.1

License

LicenseRef-LICENSE

Unpacked Size

7.05 kB

Total Files

4

Last publish

Collaborators

  • moklick
  • gka