Calling another app inside Electron - maybe a CORS issue

Hi everyone!

I’m trying to make an Electron app that requires sign-in with a cryptocurrency wallet (Portis in this case). Clicking on the link to sign in generally (but not always) brings up another Electron window which brings me to Portis’s sign in screen, but entering the correct credentials doesn’t work.

I have a number of console screenshots that I thought would be useful, but this is my first post, so I only can post one.

I see the following in the dev tools in the main app:

A cookie associated with a cross-site resource at was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at and

And when I try logging in I get:

Failed to load resource: the server responded with status of 401 ()

Here’s the Portis log in window with dev tools open:

I’ve tried searching using these console messages, but unfortunately can’t figure out what I need to do. If someone could tell me, or even point me in the right direction, it would be a huge help!