Skip to content

Commit ca02018

Browse files
authored
Support change org policy (#452)
1 parent 59b6287 commit ca02018

File tree

22 files changed

+1442
-7
lines changed

22 files changed

+1442
-7
lines changed

docs/policies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Note: All front-end SDKs that expose `loginRedirect` accept an optional `policy`
3838
- `change_password`: Allows users to change their password (for password-based users only). Requires `ENABLE_PASSWORD_RESET=true`.
3939
- `change_email`: Allows users to change their email address (for password-based users only). Requires `ENABLE_EMAIL_VERIFICATION=true`.
4040
- `reset_mfa`: Allows users to reset their enrolled MFA (Multi-Factor Authentication) method.
41+
- `change_org`: Allows users to change their organization. Requires `ENABLE_ORG=true`, and remove `change_org` from `BLOCKED_POLICIES`.
4142
- `manage_passkey`: Allows users to manage their passkey. Requires `ALLOW_PASSKEY_ENROLLMENT=true`.
4243
- `manage_recovery_code`: Allows users to manage their recovery code.
4344
- `saml_sso_[idp_name]`: Allows users to sign in via SAML SSO.

docs/zh/policies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Policies 允许你在不更改应用逻辑的情况下,将用户路由到不
3838
- `change_password`:允许用户更改密码(仅限基于密码的用户)。需要 `ENABLE_PASSWORD_RESET=true`
3939
- `change_email`:允许用户更改邮箱地址(仅限基于密码的用户)。需要 `ENABLE_EMAIL_VERIFICATION=true`
4040
- `reset_mfa`:允许用户重置已注册的 MFA(多因素认证)方法。
41+
- `change_org`:允许用户更改其组织。需要 `ENABLE_ORG=true`, 并从 `BLOCKED_POLICIES` 中移除 `change_org`
4142
- `manage_passkey`:允许用户管理其 passkey。需要 `ALLOW_PASSKEY_ENROLLMENT=true`
4243
- `manage_recovery_code`:允许用户管理其恢复代码。
4344
- `saml_sso_[idp_name]`:允许用户通过 SAML SSO 登录。

0 commit comments

Comments
 (0)