Skip to content
Back

google oauth not return to the app flutter

  • 0
  • Accounts
  • Flutter
hortigado
22 Mar, 2023, 02:53
TL;DR
The user is experiencing an issue with Google OAuth not returning to their Flutter app. The error seems to be due to compatibility issues with different browsers. It only works with Chrome and Firefox, possibly specific versions. The user tried using Chrome in the emulator, but it did not work. They are seeing a console message after clicking "accept," but it still doesn't return to the app. The user suspects a problem with their physical device. The page seems to load correctly on desktop and for others, but not on the user's device. There is a suggestion to try running it on a physical device. The user wonders if there may be mis
Binyamin
22 Mar, 2023, 02:56

Let's test if the scheme is even working Go to this URL appwrite-callback-6416a9f487c4cbac5bc6://indx in the emulator

Binyamin
22 Mar, 2023, 02:56

you can paste in Message and then click on it

hortigado
22 Mar, 2023, 03:06

I lost my friend, how do I access that url? If I put it as it is in the browser, I just go to Google

Binyamin
22 Mar, 2023, 03:14

I've upload it for you https://cms.bool-code.com/a.html click on the link inside in your emulator

hortigado
22 Mar, 2023, 03:16

the link returns me to the app friend

Binyamin
22 Mar, 2023, 03:16

So it the scheme is working

RASHIDTE
22 Mar, 2023, 03:17

Same problem 😔

Binyamin
22 Mar, 2023, 03:17

What is that?

RASHIDTE
22 Mar, 2023, 03:18

Flutter OAuth

Binyamin
22 Mar, 2023, 03:18

In your mobile device?

Drake
22 Mar, 2023, 03:18

Something seems really wrong with the page. It's like it's not loading properly

hortigado
22 Mar, 2023, 03:19

Yes, because it doesn't show anything, it just stays blank

hortigado
22 Mar, 2023, 03:21

Could it be a problem on my server? something misconfigured, although nothing occurs to me

Binyamin
22 Mar, 2023, 03:22

One last check Did you try to run in on your physical device?

hortigado
22 Mar, 2023, 03:22

ok friend i will try

Drake
22 Mar, 2023, 03:23

I have a feeling it's the device... because the page loads correctly for me and it loads correctly on desktop for you

hortigado
22 Mar, 2023, 17:53

Good day, friend On pyshical devixe i get it error

hortigado
22 Mar, 2023, 17:54

I do click in accept, but same it not return to the app

Drake
22 Mar, 2023, 17:56

at least you're seeing the message now! 🎉

Drake
22 Mar, 2023, 17:57

that's weird...it seems to know it should go to the right app too...

hortigado
22 Mar, 2023, 17:57

on console when i done click in accept

hortigado
22 Mar, 2023, 18:08

I tried with the chrome browser and for some reason it works. But in the emulator with the chrome it not worked

hortigado
22 Mar, 2023, 19:07

after several tests the error is due to incompatibility with the browser, the return to the app only works with chrome and firefox. And I believe from certain versions. In the emulator I still can't get it to work but I keep trying

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more