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.**
Summary
Developers are discussing an error they encountered while trying to integrate Google OAuth into their Appwrite project. They have tried various solutions found on the internet, but none of them have worked. The error message states that there is a missing redirect URL in the OAuth login flow. A developer suggests adding the callback URL to the list of Javascript Origins, but this solution does not work for the original poster. It is determined that the developer is running Appwrite locally on Docker and is currently developing the application. It is also clarified that they are not using Appwrite Cloud but have installed Appwrite as a dependency. There is no definitive solution provided in the
kamal.panara
Jan 17, 2024, 23:23
have you added correct callback URL here ?
7777Chaitanya
Rank 1: Thread
Jan 17, 2024, 23:25
Hey @kamal.panara . I have done that.
kamal.panara
Jan 17, 2024, 23:28
are you on Appwrite self-hosted or Appwrite cloud?
7777Chaitanya
Rank 1: Thread
Jan 17, 2024, 23:32
I haven't deployed it yet. I am currently developing the application.
kamal.panara
Jan 17, 2024, 23:33
so you are running appwrite locally on docker
7777Chaitanya
Rank 1: Thread
Jan 17, 2024, 23:33
No. I installed appwrite package as a dependency
kamal.panara
Jan 17, 2024, 23:34
okay, are you using Appwrite Cloud ?
7777Chaitanya
Rank 1: Thread
Jan 17, 2024, 23:34
yes
kamal.panara
Jan 17, 2024, 23:39
are you running your web app locally ? then make sure to add localhost in Javascript Origins
7777Chaitanya
Rank 1: Thread
Jan 17, 2024, 23:47
I did that too. No luck
kamal.panara
Jan 17, 2024, 23:50
add it on the top of the list in Javascript Origins like this http://localhost