
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
- Duplicate name types with multiple datab...
Hello, we are having multiple databases and would like to use the cli to generate the types using (appwrite types --language ts), the issue is that the appwrit...
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
- PR Review and Issue Assign?
I am not familiar with how things work here. I know that Issue have to be assigned before solving problem, It is for not wasting contributors time but I like t...
