@rc-tool/unified-auth-hosted-service 0.2.9 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -131,7 +131,7 @@ export const hostedAuth = createHostedAuthRouteHandlers({
131
131
  | `devLoginLabel` | 开发登录入口文案。 |
132
132
  | `footerText` | 底部说明文案,传空字符串可以隐藏。 |
133
133
 
134
- 业务侧不需要配置 `applications`。内嵌 Hosted Auth 的定位是“当前业务项目自己挂登录页和 `/api/auth/*`”,因此一个项目只需要在 `createHostedAuthRouteHandlers` 上传当前项目的 `clientId`、`appName`、`redirectURI`、`allowedRedirectURIs` 和 `loginPageComponent`。
134
+ 业务侧不需要配置多应用数组。内嵌 Hosted Auth 的定位是“当前业务项目自己挂登录页和 `/api/auth/*`”,因此一个项目只需要在 `createHostedAuthRouteHandlers` 上传当前项目的 `clientId`、`appName`、`redirectURI`、`allowedRedirectURIs` 和 `loginPageComponent`。
135
135
 
136
136
  登录页组件的配置优先级是:
137
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-tool/unified-auth-hosted-service",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "type": "module",
5
5
  "description": "Embedded and standalone hosted auth runtime for Unified Auth.",
6
6
  "main": "./dist/index.js",