b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
189 stars 9 forks source link

SORRY NOT AN ISSUE BUT REQUEST #3

Closed Tokn59 closed 1 year ago

Tokn59 commented 1 year ago

Sorry to post this in issues but I saw no other way to contact you. Question is .. How do you handle logging in externally with defined trusted networks when fir example using Cloudflare ? The IP address is then unknown right ? I tried adding all the IP addresses mentioned on the Cloudflare website but to ,o success.

b0mbays commented 1 year ago

Hey, not too sure what you mean... Logging externally? There is no logging externally happening if that's what your question is. Everything is contained within your home assistant instance 🤔

Tokn59 commented 1 year ago

Sorry .. typo .. I meant LOG IN .. So when you access your HA instance from external. eg through Clouflare or Duckdns. In that case you don't really know what IP address is accessing HA and thus cannot add it to the Trusted Networks list.

b0mbays commented 1 year ago

In that case I would just log in normally with your username + password. I would only use the trusted network list for your chromcast displays 👍

b0mbays commented 1 year ago

Closing this issue

Tokn59 commented 1 year ago

That doesn't work .. from external URL (Cloudflare) :

image

b0mbays commented 1 year ago

Do you not have another option here to log in as "Home Assistant Local"? When I select that, I can just login with my username and password

image

b0mbays commented 1 year ago

Can you ensure you have:

- type: homeassistant

at the end of your auth_providers

Tokn59 commented 1 year ago

No apparently not .. tried on Edge and Chrome Browser, both in InPrivate/Incognito mode ... The IOS App can also not login using the external URL.

b0mbays commented 1 year ago

I just removed:

From my configuration.yaml file and the login option has gone. Ensure it is there. If it is there, post a screenshot of it and i'll try to help 👍

image

Tokn59 commented 1 year ago

Damn ... So sorry .. that line was still commented out from all the tests of yesterday ! My bad !

It works now !!

THANK YOU !!!