dcaputo-harmoni / open-balena-admin

Open Balena Admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login Doesn't Work

anthonyra opened this issue · comments

I'm trying to login, via admin.<mydomain.com>:8080 but continue to get an error. I believe it's because of a Cors restriction on my browser when trying to access/fetch api.<mydomain.com>/login_.

I'm able to get an OK returned from api.<mydomain.com>/ping but when I attempt to access /login_ it fails even when I try to access it straight from the browser.

Some additional thoughts, I've read a handful of the other issues. I can see the importance of keeping this separate from open-balena. In this line of thought, maybe we could include https://github.com/Rob--W/cors-anywhere as another container for open-balena-admin to ensure api requests aren't blocked browser side? I'm no expert, so I'm not sure if this will actually help or fix the issues I'm seeing.

Turns out it was the way docker was being installed on the server side. When installed via repo the problem went away.