Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile app support? #124

Open
patrik996 opened this issue Mar 31, 2022 · 9 comments
Open

Mobile app support? #124

patrik996 opened this issue Mar 31, 2022 · 9 comments

Comments

@patrik996
Copy link

I just setup auth_header with use of swag and Authelia authentication. It works fine in the browser but on the mobile companion app it just gets a black screen when i try to set it up.

Is the mobile app not supported?

@fservida
Copy link

I'm using it successfully with the app, however I had to protect only a very specific subset of the proxy, else every request will have to be authorized which breaks the API (at least I think)
Maybe try something like this (adapted to Authelia, I use Apache with Shibboleth):
image

@anthr76
Copy link

anthr76 commented Jun 7, 2022

im also facing this issue with ingress-nginx on kubernetes

@BeryJu
Copy link
Owner

BeryJu commented Jun 7, 2022

I've not had to do anything custom, the App just works for me (using authentik as IDP, envoy/istio ingress on k8s and using proxy mode for HASS)

@AngellusMortis
Copy link

I had to wipe the data for my app to get it to work (on Android 12). Otherwise, it would try to open a browser and never work.

@jimz011
Copy link

jimz011 commented Jul 27, 2022

I can't get this to work, it will always try to open the browser (even after clearing the app as @AngellusMortis mentioned). Anyone that can tell me what they did perhaps?

@hacker1024
Copy link

@ajvpot
Copy link
Contributor

ajvpot commented Sep 13, 2022

This is an issue with the app, home-assistant/android#1438

@Thesola10
Copy link

Try this, it works for me with the app: home-assistant/android#1438 (comment)

@christiaangoossens
Copy link

@BeryJu By any chance, do you use iOS for HA app? Reading around a bit it seems that the iOS app works (although config is not easy, you should only proxy /auth), but that the Android app uses a really old Webview that makes Authentik impossible to use.

For me on Android, if you reset all data for the HA app and enter the URL (with Authentik Proxy configured), it shows Authentik in messed up state without FIDO2 support.

Seems more like a badly designed app, using old Android Webviews instead of Chrome Custom Tabs.

Conclusion, if you use 2FA and/or Android, this does not seem like a good route until HA gets their #$@ together and implements proper external OpenID Connect into their app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants