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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...