
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
- Image Loading issue in Snapgram project
Hello community, I have a issue with the Image Loading I made a Project from youtube of Snapgram, it worked perfectly 8 months ago, but now the images aren't l...
- No Targets Created For Email OTP Users
I use OTP for my users. All emails are verified. No one has their email as a target. What am I doing wrong? The documentation says the targets should be created...
- Retrieving user access token on client s...
I am trying to retrieve the user token from the cookies, but they are HTTP-only and can not be accessed. Is there a way to extract the user token from the cooki...
