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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...