Hello, kinda newbie here. I am getting the following errors while trying to create and sign up on my account. I can see the user being created on the appwire site but somehow I am unable to successfully log in. Any idea what may be wrong? I checked out the documentation but I didn't fully understand what I should change to my code. I can provide all the necessary files
What framework are you using? What does your code look like?
I am using React and this is how a part of my code from the config.ts looks like
what does your login code look like
it should be this one, on the sign up form. If there is something else required let me know 😅
I guess what i'm asking, where are you using appwrite to authenticate the user.
should be this section from api.ts
What is on api.ts line 79
After the user is created you'll need to then create a session for that user. Doing something like this.
const { email, password, name } = user;
const newAccount = await account.create(
ID.unique(),
email,
password,
name
);
const newSession = await account.createEmailPasswordSession(email, password);
Recommended threads
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Server Down
Appwrite services are down. When will they start working again?