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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...