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
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region
- Project paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...