idiamant
(Ido Diamant)
September 30, 2022, 5:55pm
1
There is a github issue for that, under Android.
opened 11:30AM - 30 Jun 22 UTC
enhancement
**Is your feature request related to a problem? Please describe.**
I use Cloudf… lared Zero Trust to protect my Home Assistance. To access my Home Assistant instance, I have to log in using oAuth. When I do this via the Home Assistant app, the process ends in Chrome rather than the Home Assistant App.
Actual Results:
1. Open HA App
2. App opens Chrome to login to Zero Trust
3. After login, HA is shown in Chrome,
**Describe the solution you'd like**
1. Open HA App
2. Zero Trust login shown in HA App
3. After login, HA is shown in HA App
**Describe alternatives you've considered, if any**
Zero Trust also supports [Service Tokens](https://developers.cloudflare.com/cloudflare-one/identity/service-tokens), an alternative could be to allow custom headers to be attached to requests (this could potentially allow for a solution to other providers).
Another alternative is to use warp for login, buy this isn't feasible on my corporate phone.
**Additional context**
Would love seeing such support for iOS and Android.
The easiest (and most generic way, not only for Cloudflare) will be to add support for custom http headers to be sent with any request to home assistant hostname, either by the webUI or by the backend api requests.