Cookies Set After Facebook OAuth Redirect Are Stored Under facebook.com Instead of My Domain
I’m implementing Facebook OAuth login in my web application and trying to set a session cookie after the OAuth callback. The flow works correctly on my local environment (localhost), but in beta and dev environments (my beta and dev domain), the cookie is being stored under facebook.com instead of my domain. This prevents my frontend from accessing the cookie.
Cookies Set After Facebook OAuth Redirect Are Stored Under facebook.com Instead of My Domain
I’m implementing Facebook OAuth login in my web application and trying to set a session cookie after the OAuth callback. The flow works correctly on my local environment (localhost), but in beta and dev environments (my beta and dev domain), the cookie is being stored under facebook.com instead of my domain. This prevents my frontend from accessing the cookie.