GeorgeOriginal post
Web Developer
While working on my local computer, the OAuth works perfectly. But when I deploy it to the live server. I get this error
Error 400
Invalid success param: URL host must be one of: localhost, cloud.appwrite.io, *.netlify.app
Type
general_argument_invalid
But in my localhost, it works perfectly
Summary
The user is experiencing an OAuth 2 login issue when deploying their project to a live server. They receive an error message stating "Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io, *.netlify.app". However, the OAuth login works fine on their localhost. The solution is to add a web platform that matches the domain exactly instead of using a wildcard one.