I am pretty fresh to the electron, and I am working on building an application that uses Facebook/Google to authorize a user. Everything works fine when I am working on development, when I just use localhost:3000 as the callback URL for Facebook/Google API. But when I build the app and run it, things just fell apart. I followed the steps on this medium post here to configured the building proces. And to make it simple I just used the npm submodule: react-facebook-login, react-google-login.
I thoughts there should be any difference between these two, but the process works fine on dev but not on built app:
Should I treat this case as a native app and rebuild the authorization from scratch instead of using node module?