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
- Sydney Cloud Sites: App Git deployment a...
Project ID: rentwize-db The app Site fails after the build completes with a missing build archive error. Site id: app Framework: TanStack Start SSR Output dir...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating βyour project will be deleted within 14 days if no action is taken,β though I have been actively usin...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload