I have a frontend which is an Electron app and a backend written in Node. When I hit login button my app sends Ajax POST request to my backend, which returns that authentication was successful. When I try to get if user is authenticated using req.isAuthenticated()
I get false
. It could be because my frontend domain (file://some/path/.../...
) differs from backend domain (https://somewhere.on.georgenet.gq
) (These are just examples)
via George Bougakov
No comments:
Post a Comment