Only then you'll be able to make authenticated requests
the only endpoint I rmember calling was in my config files
sorry this is a little out of my wheelhouse lol
Which framework are you using
TS
Which web framework though
I can point you to one of our quick starts and it'll give you an idea of how to get a registration / login page working
You can pick the framework your using
yeah next.js
Cool you can pick that in the quick start guide and look for the register and login methods
That's where your making a mistake
alright I will check it out, I am pretty sure its gotta be close my accounts register in my users etc
Yea you're already able to create accounts. You just need to get the code in to create a session
Let's mark this as solved and you can open a new thread if there are any Appwrite specific issues
Alright!
Awesome 🔥
So...are you creating the sessions?
Full disclosure I’m not even 100% sure what that means specifically. I’m pretty green!
Oh ok like this?
export async function signInAccount(user: { email: string; password: string }) {
try {
const session = await account.createEmailSession(user.email, user.password);
return session;
} catch (error) {
console.log(error);
}
}```
Yes. Now, is this executed client side or server side?
It appears it’s client side
Would you please share a screenshot of the network logs list of requests?
And your code
Recommended threads
- I reached my budget limit how?
Hi, I got a message saying I reached my budget limit already? Makes no sense? In 4 days I reached 3.4M reads in a project how with only 100 users? This is my pr...
- Console down yet again ?
Seeing it stuck on the "loading" screen yet again ... second time today. (last time 10+ hours ago). 'roles' and 'plan' requests just hung. Meanwhile, appwrit...
- Function Building show 500 Error
Region: sfo Temple: Starter Function Runtime: Nodejs 22 What happened? Before 2 minutes it show ‘server error.","code":500,"version":"0.7.24"}’ after it show c...