Back

Face authentication possibility?

  • 0
  • Web
  • Databases
  • Auth
  • Storage
  • React Native
mikey
4 Jan, 2025, 15:11

I want to implement face authentication in my application (next js framework) using appwrite....do anybody have idea about what exact changes we need to make in code and appwrite project(database,storage)....is this possible by using face-recognition library provided by openCV or do anybody have idea about other alternatives?

TL;DR
Developers discussing implementing face authentication using Appwrite in a Next.js framework. The process involves server authentication, user creation/updating, token generation, and session claiming. User seeks advice on code changes and Appwrite project setup for face recognition, considering using the openCV face-recognition library or other alternatives.
Meldiron
4 Jan, 2025, 15:15

Heyy. I recently wrote article on how to do Passkey login with Appwrite Functions: https://dev.to/meldiron/biometric-authentication-with-passkeys-3e1

Not sure if it matches what you are looking for exactly, but you can use it to inspire your implementation.

The authentication flow happens in following steps:

  1. Server authenticates user
  2. Server upsert user (create / update)
  3. Server generates token
  4. Server returns token secret to user
  5. Client uses token secret to claim a session

(In those example, server means Appwrite Functions)

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more