Skip to content
Init is coming / May 19 - 23
Back

Google authentication using appwrite

  • 0
  • Users
  • Web
Avinash
20 Dec, 2023, 09:21

Hey, I am avinash, I am building a social media app using react, contextAPI, react query and appwrite as backend services. So basically I have built my SignUp and SignIn part, and now I want to add Google authentication. In my app, I have a relation between Users* and Posts so I have to save the users who will be logged in using Google and here I got stuck. I have searched everywhere but not getting the exact path to start. Is there anybody who has worked on a similar module/project that can help me? It will be appreciated, looking forward to a solution *🙏

TL;DR
User is building a social media app using React, ContextAPI, React Query, and Appwrite as backend services. They have built the SignUp and SignIn parts and now want to implement Google authentication. They are looking for guidance or help from someone who has worked on a similar project.
D5
20 Dec, 2023, 09:27

I do that with a function. I trigger the function when a new user is being created and the function creates the new user in the users collection in the DB

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more