跳到主内容

Face ID

Overview

We've now incorporated Face ID login into Casdoor by leveraging face-api.js.

Activation method

Add the Face ID option in the organization's Account items

User Management -> Organizations -> Choose an organization -> Locate the Account items section and incorporate Face ID

Face ID

Afterwards, you'll find the Face ID option under User, where users can upload their facial data to be used for logging in

User Management -> Users -> Choose a user -> Find Face Ids, and add facial data. You can add up to 5 facial data entries, and you can give each facial data a custom name.

Face ID

Third step: Incorporate Face ID as a login option under the Signin methods section of the application

Identity -> Applications -> Choose an application -> Go to the Signin methods section and incorporate Face ID as a login option.

Face ID

Finally, you can log in using the Face ID method on the login page

  1. On the login page, select the Face ID login method.
  2. Enter the username, click on Sign in with Face ID.
  3. Once you grant permission to access your camera, you'll be able to log in using Face ID.

Face ID

Face ID

Here is a video demonstrating how to configure Face ID login: