As I am trying to do Oauth it is throwing error
share code
Hey, can you please show the error ?
this is the code for Google oauth
what's the error you're getting?
Doing with react as front end
User access blocked by Google
can you elaborate
const deleteasync = async (id) =>{ console.log(id) const response = await databases.deleteDocument("6427c6d20464df58bf36","6427c6dcd6bc73a91b81","id") response.then( function (response){ console.log(response) }, function (error){ console.log(error) } ) window.location.reload() }
This as well when I sending id it showing document id not found
It's the write code bcoz documentation has changed a lot
then it probably means the document doesn't exist 😅
I thought you were having error from google oauth?
That too
I will once again implement it will show properly
Is that delete one is correct
I have implemented it properly I have to create a new project id for that yesterday i deleted all the resources from appwrite
@Ajay I hope you've enable the oauth client in google api console. You need to configure it first on google's side , get the app id and secret. You feed this into the appwrite console when you enable google oauth
Ok I will try on this
Recommended threads
- SSR Auth with Tanstack Start requires ha...
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 I tried to replicate it for Tanstack Start. However, on...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...