Hey Appwriters. I am trying to integrate Google oauth in my Appwrite project. I am facing this error. I searched the internet but couldn't find any recent solutions and the older solution doesn't seem to work. Can someone help me, please?
**Missing redirect URL
Your OAuth login flow is missing a proper redirect URL. Please check the OAuth docs and send request for new session with a valid callback URL.**
have you added correct callback URL here ?
Hey @kamal.panara . I have done that.
are you on Appwrite self-hosted or Appwrite cloud?
I haven't deployed it yet. I am currently developing the application.
so you are running appwrite locally on docker
No. I installed appwrite package as a dependency
okay, are you using Appwrite Cloud ?
yes
are you running your web app locally ? then make sure to add localhost in Javascript Origins
I did that too. No luck
add it on the top of the list in Javascript Origins like this http://localhost
Does the page you see this error on have a https://cloud.appwrite.io URL, or a Google URL?
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...