Hi all!
I am trying to check out appwrite if it will allow me to incorporate it in my next project. I have appwrite up and running and a few endpoint implemented and I like it so far.
I wanted to see now if I'll be able to login users with a "fingerprint" from a mobile device. Say String "123" for test purpose. I tried using: https://appwrite.io/docs/products/auth/custom-token But I don't have account.createSession in JS.
Please can you advice how can I achieve this ? ๐ Many thanks!
account.createSession() is only available on server-side.
Where are you trying to sign the user into?
Nice catch, createToken should run on server (Server SDK), and createSession on client (Client SDK).
Here is passkey I implement in free time, it showcases a custom flow as well: https://dev.to/meldiron/biometric-authentication-with-passkeys-3e1
I dont know how exactly fingerprint ID works in mobile apps, but I can imagine it is similar handhsake/challegne approach.
Oh, whoops - looks like I got them mixed up!
Well you spotted it, close enough ๐ I was already digging in docs if it's createTokenSession ๐
Recommended threads
- Running into a server error on my self-h...
Hey everyone, I'm running into a server error on my self-hosted setup after updating to v1.19.0. The issue only happens during user creation and deletion. Ever...
- Storage System
Hey guys, quick question regarding massive storage scaling. Iโm working in digital forensics and Iโm constantly dealing with huge binary disk images, usually be...
- _APP_OPTIONS_ROUTER_PROTECTION
Hi Everyone, I just setup a fresh 1.9.0 on a server. Configured everything and now when i try to connect to appwrite for first time setup i get a _APP_OPTIONS_R...