跳到主内容

登录方式

在应用编辑页面上,配置登录项表格:添加、删除和重新排序方式。支持的方法:密码、验证码、WebAuthn 和 LDAP。

登录方式

字段引用:

列描述
名称登录方式名称。
DisplayName向用户显示的标签。
规则自定义此方法的规则(见下表)。
操作向上移动、向下移动或删除。

The methods below take a rule.

方法规则描述
密码All(默认)、Non-LDAPAll:LDAP 用户可以用密码登录。 Non-LDAP:LDAP 用户不能用密码登录。
验证码All(默认)、Email only、Phone only使用哪种渠道发送验证码:同时使用、仅电子邮件或仅电话。
Device loginTab (default), Login pageTab shows the device login QR code in its own tab. Login page shows it next to the sign-in form, so users signed in to your mobile app can scan it to sign in to the website.
提示

Native apps

A native app can sign users in with a verification code without opening this page: enable the Verification Code grant, which also signs up phone numbers and emails that have no account yet.

备注

示例:优先使用电子邮件登录,其次使用密码。请先添加验证码,再添加密码;将验证码规则设置为仅电子邮件,以便验证码仅通过电子邮件发送。可选地为验证码方式设置一个清晰的显示名称(例如“电子邮件登录”)。

登录方式

登录方式

提示

默认情况下,除LDAP以外的所有方法均可用。必须至少配置一种登录方式。

这是一个登录方式如何工作的视频: