How can I create a user server-side?
I'm using SvelteKit, a full-stack framework which also has a server side.
Since I don't want to expose the Appwrite url, project id, etc... I would like to handle the signup on the server.
How can I do this?
You can simply use the server sdk of appwrite
thats what I did in next js
the way how you use cloud function it the same process on server side of next js or svelte
Is it correct to use the "User" endpoint here?
in server side
yes
Okay, thanks!
But is it even possible to set up the complete authentication only server-side? I mean, how would you create a session (probably a cookie) on the client then?
you cant use server side to create session, unfortunately
Ohh, that's not good..
Recommended threads
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...