
How can I get the user to sign up or login using their Google account?

You'll need to setup Google as an OAuth provider in your appwrite project. After it's set up, use https://appwrite.io/docs/client/account?sdk=web-default#accountCreateOAuth2Session for login/signup

Okay thank you will check it out

please is it necessary i hid my API key and if it is how do i hid it? thank u

which API key are you reffering could you pls clarify? are you referring to the one which is console for server side sdk?

btw general idea is to never share any keys till it's not explicilty get asked

The one i kept in my appwriteconfig file- account creation

you mean the project id?

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
const promise = account.create('[USER_ID]', 'email@example.com', '');

.setProject('5df5acd0d48c2') <-------
is this what you're talking about?
Recommended threads
- what is the best way to redirect a prett...
I tried to do this in a function, but after redirecting to the bucket and try to play video, i get CORS error: The 'Access-Control-Allow-Origin' header has a va...
- Can't download a file through the AppWri...
Heya! SO I am learning backend using Node.js. I am using AppWrite for storage, and in the application I want the files to be downloaded, which are stored by the...
- Vite build permission failed
im trying to deploy a react site using appwrite sites and it keeps failing to build ```2025-08-10T20:20:15.168371867Z [20:20:15] [open-runtimes] Environment pr...
