1.4.0 • Published 2 years ago

yapi-plugin-gitea-auth2 v1.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

yapi-plugin-gitea-auth2

第三方插件,基于Oauth2协议登录,在生成的配置文件中,添加如下配置即可:

  "plugins": [
    {
      "name": "gitea-auth2",
      "options": {
        "clientId": "your client id",
        "clientSecret": "your client secret",
        "authServer": "http://{YAPI_URL}",
        "redirectUri": "http://{GITEA_URL}/api/plugin/oauth2/callback",
        "buttonName": "统一登录",
      }
    }
  ]
1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago