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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...