Relative Content

Tag Archive for authenticationoauth-2.0oauthgoogle-oauthappwrite

Appwrite Auth’s Users vs. Collection

I developed a Vite ReactJS web application where users log in using Google OAuth 2.0. Upon logging in, I retrieve the user’s email and given_name and store it in the users collection in Appwrite. After logging in, users are prompted to set a username, which is also stored in the same collection alongside their email. So, each user in the collection has the following attributes: Document ID, email, given_name, username, and avatar.