#How to use google account to sign in

1 messages · Page 1 of 1 (latest)

severe urchin
#

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

worn patio
severe urchin
#

Okay thank you will check it out

severe urchin
#

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

quick wharf
#

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

severe urchin
#

The one i kept in my appwriteconfig file- account creation

worn patio
#

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 protected]', '');