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
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...