Back

If OAuth success what would be expected response body?

  • 0
  • Accounts
Vedsaga
24 Mar, 2023, 17:35

πŸ€” didn't get sorry

TL;DR
The user is experiencing a Firefox issue with OAuth. They tried clearing defaults and switching to Chrome, but the issue still occurred. They discovered that the pop-up is appearing because there are two apps with the same package name. There is a link to a Discord channel for more information. They want the user to be automatically redirected back after clicking "open" in the pop-up. The solution is unclear based on the messages provided.
Vedsaga
24 Mar, 2023, 17:36

promises here refer to javascript promise ?

Binyamin
24 Mar, 2023, 17:36

What information you want to get from the promise?

Binyamin
24 Mar, 2023, 17:36

Yes

Vedsaga
24 Mar, 2023, 17:37

pretty much I want user to be automatically redirected back ( nothing else I guess), but I wonder what is the use case of these then...

Vedsaga
24 Mar, 2023, 17:37

as rn user see the pop-up and then they have to click Ok or Cancel

Binyamin
24 Mar, 2023, 17:38

You have popup? No redirect?

Vedsaga
24 Mar, 2023, 17:39

nope not automatically

Vedsaga
24 Mar, 2023, 17:39

one min let me show

Binyamin
24 Mar, 2023, 17:39

Okay

Vedsaga
24 Mar, 2023, 17:45
Vedsaga
24 Mar, 2023, 17:45

so, this what pop-up gets , but after clicking open does work

Binyamin
24 Mar, 2023, 17:45

Oh you talked about this mb try to change your browser to chrome and lmk

Vedsaga
24 Mar, 2023, 17:46

ah, so it's browser base thing

Vedsaga
24 Mar, 2023, 17:46

then no worries

Binyamin
24 Mar, 2023, 17:47

πŸ‘

Binyamin
24 Mar, 2023, 17:47
Vedsaga
24 Mar, 2023, 17:48

that config seems to be already there...

Vedsaga
24 Mar, 2023, 18:54

Ok so found the reason why this pop is coming, it is because there are two apps with same package name, as I had dev version and release version so firefox was not sure which screen to redirect.

Binyamin
24 Mar, 2023, 18:55

Cool

Vedsaga
24 Mar, 2023, 18:56

Ah no no may be my assumption is wrong πŸ˜… this still happened ( just before posting last message I tested on Chrome) but when switched to Firebase it does still shows the message

Vedsaga
24 Mar, 2023, 18:56
Binyamin
24 Mar, 2023, 18:57

I think because this is Firfox and not the System one it will always happen

Vedsaga
24 Mar, 2023, 19:01

can be likely cases to me it seems

safwan
24 Mar, 2023, 20:54

This is indeed a firefox issue as @Binyamin stated. I cleared the defaults in Firefox, and it opened the link in chrome, which redirected me back successfully

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