Hey, i'm getting errors with Facebook login, it wo...
# support-questions-legacy
i
Hey, i'm getting errors with Facebook login, it worked for me while the app was in development mode on facebook developers, but after moving my app to 'live' on Facebook i'm getting a 400 (corrected from 404) i'm using nest + graphql + react
here are my server & client logs
r
Hey!
Are you getting 404 or 400? Or 500?
I ask cause it seems that Facebook is returning a 400 error. There might be some misconfiguration somewhere. For example, double check the redirect url configured on Facebook
i
you're right it was a typo, i get a 400 as in the logs
r
that seems fine
what is the value of websiteDomain?
is it
www.yoooz.io
or
yoooz.io
?
Also unrelated to this, I see that you have made
sessionScope
as
www.yoooz.io
- that's probably not what you meant to do. To share a session across sub domains or
yoooz.io
, you need to set the sessionScope to
.yoooz.io
i
my websiteDomain is
http://www.yoooz.io
where can i find the sessionScope? tried looking on ST init arguments (AppInfoUserInput) but couldn't find it
r
ah ok. Nvm about the session scope. I thought you were setting it explicitly
you should make your websiteDomain https and not http
maybe that's causing this error
i
just added the ssl and i missed that one, i'll change that and update 🙂
that was it!
thank you for helping out! 🙏
r
awesome!
i
you're support is awesome! it's a pleasure to go through this integration with your help!!
r
thank you