Hi all, I'm not sure where to post this but I've b...
# general
q
Hi all, I'm not sure where to post this but I've been having some issues with 502 error trying to Sign in with Google with the following flow Flow React Native iOS app → Core API BFF → Ory native API:
Copy code
{
  "title": "Error 502: Bad gateway",
  "error_name": "origin_bad_gateway",
  "error_category": "origin",
  "cloudflare_error": true,
  "detail": "The origin web server returned an invalid or incomplete response to Cloudflare."
}
I am not sure if it is because testing it in the IOS simulator. Would anyone be able to clarify what the root cause and how can I fix this?
m
hard to say without more info, but here are some common things to check: • use /self-service/login/api not /browser • nonce set • webhook failure, if you have any ory actions configured check if targets aren't responding, you should see this in the activity logs • id_token submitted correctly? Method: oidc, provider: google
🙌 1
q
Thank you, @magnificent-energy-493. I just came back to work. I'll try to use the /self-service/login/api I'll double check the rest of the points you mentioned above
👍 1