Face Login for Multi-Tenant SaaS and Customer Portals

Let customers sign in to your portal with their camera. FACEIO recognizes a returning user; your SaaS platform decides which workspaces they can open and what they can do in each one.

Use the Console to create a FACEIO application and get its public App ID.

Should Each Tenant Have Its Own FACEIO Application?

A tenant is a customer organization with its own workspace. The first design decision is whether someone who belongs to two organizations should enroll their face once for your portal or separately for each organization.

Separate enrollment for each tenant

Create a FACEIO application for each organization and use its public App ID when opening that customer’s portal. Someone invited to two organizations enrolls separately in each. Keep each Facial ID linked to the tenant and account where it was issued.

Choose this when: Customers need separate enrollment records or different authentication settings. Your team will manage a FACEIO application for each customer.

One enrollment across workspaces

Use one FACEIO application for your portal. Link the Facial ID to a person’s account, and keep workspace memberships and roles in your own database. The person can sign in once and choose from the workspaces they currently belong to.

Choose this when: Your customers already use one portal account across workspaces, and your backend enforces the boundaries between them.

A public App ID selects the FACEIO application for the widget. It is not a credential for accessing a tenant. For either model, check the requested workspace and action on your server.

One Consultant, Two Customer Workspaces

Suppose Maya uses one portal account to work for two customers. She manages invoices for Northwind and can only read reports for Cedar. With a shared enrollment, she uses the same face login for both. The permissions are different.

Sign in to the portal

After verifying the sign-in, your server maps the Facial ID to Maya’s account. Her workspace picker shows Northwind and Cedar because she has an active membership in each.

Open an invoice in Northwind

Before showing or changing the invoice, your server checks that it belongs to Northwind and that Maya’s role there allows the requested action.

Switch to Cedar

Maya can open Cedar’s reports. If she follows a saved link to Cedar’s billing settings, your server denies the request. Her billing role at Northwind does not carry over.

When a Customer Removes Access

If Northwind removes Maya, her next request for Northwind data should be denied, even if her portal session is still open. Keep her shared face enrollment intact: she can still use it to sign in and work in Cedar.

Connect Face Login to Your Existing Accounts

Keep the account, enrollment, and workspace checks separate. Here is where each belongs in the portal.

1

Sign-Up and Enrollment

On sign-up, explain the camera step and obtain consent before calling enroll(). Link the returned Facial ID to the new account on your backend. If someone adds face login to an existing account, verify that they control it before linking the enrollment.

2

Returning Passwordless Login

When the user returns, call authenticate() with the same FACEIO application used for enrollment. A Facial ID posted by the browser is an identifier, not proof of sign-in. Verify the authentication event on your backend before issuing a session.

3

Step-Up for Sensitive Actions

Before a sensitive change, such as updating billing details, check the user’s permission in that workspace. If your policy calls for fresh authentication, verify the new result against the signed-in account. A successful face check does not grant a billing role.

For the browser-side login flow, see Face Recognition Login for Web Apps. Before launch, review PIN and liveness settings and the webhook reference.

What to Measure in a Customer Pilot

Pilot face login in one workspace before offering it more widely. Compare the following with your current sign-in flow over the same period.

Support Ticket Volume

Count password resets and account recovery requests per active user. Track camera or PIN issues separately so a shift in support requests does not look like a reduction.

Session Completion Rate

Count completed sign-ins against attempts. Separate canceled prompts and denied camera permissions from failed matches; each calls for a different fix.

Workspace access after role changes

Test a role downgrade and a revoked membership while the user is signed in. Confirm that the next protected request uses the new permissions without locking the user out of unrelated workspaces.

Audit Trail Quality

For a billing change, can your team identify the account, the affected workspace, and the authorization decision? A sign-in event on its own does not tell you which invoice changed.

Keep a recovery path

Offer another way to regain access if a customer cannot use the camera. Verify control of the account before replacing an enrollment; recovery should not restore a workspace membership that an administrator has removed.

Pilot Face Login in One Customer Portal

Create a test application, enroll a user, and give that account different roles in two workspaces. Test sign-in, workspace switching, and removal from one workspace before rollout.

Face enrollment
Returning-user login
Workspace access checks