Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sigin Signup Not working #48

Open
viditpagi123 opened this issue Mar 20, 2024 · 5 comments
Open

Sigin Signup Not working #48

viditpagi123 opened this issue Mar 20, 2024 · 5 comments

Comments

@viditpagi123
Copy link

While Done with the signin and signup part after doing both activities its giving failed to sign in and Signup

@Chirag-2003
Copy link

well a solution that works is you have to downgrade your appwrite,
just go to terminal and run the following command -
npm install [email protected]
It'll work, had the same issue as you

@viditpagi123
Copy link
Author

viditpagi123 commented Mar 22, 2024 via email

@viditpagi123
Copy link
Author

well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install [email protected] It'll work, had the same issue as you

Bro Posts are not getting saved in appwrite

@KasakAnand07
Copy link

KasakAnand07 commented Apr 4, 2024

In AuthLayout.tsx page side-img.svg is not working. Can you please help me to solve this issue?

@anantiikenna
Copy link

anantiikenna commented Jun 5, 2024

Appwrite has been updated so the former
account.createEmailSession(user.email, user.password)

has change to
account.createEmailPasswordSession(user.email, user.password).

so the updated code for signInAccount in the api.ts file will be


export async function signInAccount(user: {email: string; password: string;}) { 
  try {
    const session = await account.createEmailPasswordSession(user.email, user.password);

    return session;
      
  } catch (error) {
      console.log(error);
      return error;
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants