mohist / flarum-sodion-auth

为 Flarum 定制的 SodionAuth API。

安装: 13

依赖项: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:flarum-extension

v0.0.2 2021-05-03 16:02 UTC

This package is auto-updated.

Last update: 2024-09-29 05:42:56 UTC


README

SodionAuth 的 Flarum 插件

使用方法

通过以下方式安装

composer require mohist/flarum-sodion-auth

在管理面板中启用

通过以下方式生成 API 密钥

php flarum sodionauth:key

配置 SodionAuth

{
  "api": {
    "web": {
      "flarum": {
        "url": "http://example.com/api/sodionauth",
        "key": "YOUR_KEY_HERE",
        "allow login": true,
        "allow register": true,
        "friendly name": "flarum"
      }
    }
  }
}