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 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.
The email is obtained through Google login, while the username is set after the user completes a CAPTCHA. I do not store the email unless the user has set a username and passed the CAPTCHA.
Appwrite provides an Auth feature with Users and Teams. So I am confused if I am on the correct path with the user sign up process.
Currently, my application works as intended. I just want to know if my approach is unproblematic. Can you please clarify?
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...