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
- 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...
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...