home-assistant / home-assistant/android
mobile app to support authelia / other authentication layers
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Is your feature request related to a problem? Please describe.**
My homeassistant server is external and behind reverse proxy (nginx) and authenticating / protecting URL with Authelia. When I configure home assistant url in mobile application with the has.mydomain.com what happens is that the mobile app opens chrome with the authelia subdomain with a redirect in the url. Example
1. open ha mobile app
2. ha mobile app opens google chrome to login.mydomain.com (with ha url as redirect)
3. enter user credentials
4. authelia then redirects back to ha domain home.mydomain.com
5. mobile app however never sees this authentication. Does not work
**Describe the solution you'd like**
I would like the mobile app to see there is an authentication layer in front of the homeassistant server. So all within the application I would be presented with the authelia login screen and if successful authentication then handed back to the mobile app as an authenticated user. This way I can manage all my ha related activities / sensors, etc within the mobile app.
**Describe alternatives you've considered, if any**
Using google chrome works 100% of the time
**Additional context**
I wanted an additional layer of security in front of home assistant instead of users hitting the home assistant login page directly. If the mobile application uses some additional headers it's possible for me check for this in my reverse proxy setup and bypass authelia for the mobile application.
Contributor guide
Assessment
This issue has not been assessed yet.