Can I use Userid & password to Authenticate my Users? If So, Can I make it secure like They can only access things that are meant for them. I could Do Server-Side Validation too.
According to the latest docs, there is no way to create a session with a userId. You need to use either an email or phone number depending on the endpoint.
The only other way to create a session without email or phone, is an anonymous session, but you will still need to use an email if you want to turn it into an account.
There already a issue about this topic:
Recommended threads
- Hi Folks, Database Writing Issue
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the f...
- script "build" was terminated by signal ...
Heyo, For some reason, my Next.js 16.0.10 version does not build properly. Here is the last logs: ``` 1063 packages installed [22.54s] $ next build ⚠ No build...
- Middleware
how to make middleware in nextjs appwrite with client side auth?