mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:15:44 +00:00
6cfd586175
* feat(plugin-api-keys): support fetch api via api-keys
* feat: full support
* fix: missing parseToken in auth
* feat: add created at column
* feat: configure snippet
* fix: remove unused code
* fix: revert
* chore: update deps
* feat: improve role
* fix: avoid create api key without not exist role
* feat: improve select roles
* refactor: when no X-Role is found, roles should not be randomly assigned
* feat: improve code
* feat: improve current role
* fix: revert
* fix: revert apilicent
* fix: revert auth
* feat: improve currentRole logic
* feat: use resourcer.use instead it
* refactor: remove api-keys-auth
* fix: type
* refactor: move jwt to authManager
* refactor: remove unused code
* refactor: remove protected
* Revert "refactor: remove unused code"
This reverts commit
|
||
---|---|---|
.. | ||
src | ||
client.d.ts | ||
client.js | ||
package.json | ||
README.md | ||
server.d.ts | ||
server.js |
SMS Auth
提供短信登录认证功能。
依赖
@nocobase/auth
认证插件,提供认证相关功能,表、模型、函数复用等。@nocobase/plugin-verification
验证码插件,提供短信发送功能。
使用方法
新增验证码Provider
插件设置 - Verification/验证码
新增一个Provider, 并设置为默认方式。
新增SMS认证器
插件设置 - Authentication/认证
新增,选择认证类型为SMS,新增一个Authenticator。
效果如图: