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
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...