#Hi I am building new features on top of
1 messages · Page 1 of 1 (latest)
@dry summit HA Auth Provider documentation doesn't specify how I can add external authentication.
It only says how I can added trusted networks and users.
You'd have to build that into HA
Add your own provider
Command line is only an option if you're deploying Core installs (https://www.home-assistant.io/docs/authentication/providers/#command-line)
I want the users to authenticate with AWS Cognito which uses Oauth 2 flow.
Basically don't want to use the login page of HA. Instead want to redirect ths user to custom login page backed by cognito and after login is successful it returns to HA with auth tokens.
I'd expect that you can do that, if you write your own auth provider module that handles it, and get it merged/build your own images
Okay if I write my own auth provider module which uses AWS Cognito sdk, how will I modify the login page
The existing auth provider modules are retrieving the username and password from HA's login page
@dry summit I was trying to implement OIDC using Command Line Auth
https://community.home-assistant.io/t/openid-connect-login-via-command-line-auth/119736
But getting this error.
2022-05-20 09:34:35 ERROR (MainThread) [homeassistant.auth.providers.command_line] Error while authenticating 'talhasid': [Errno 2] No such file or directory: '/config/keycloak.sh'
Although I have created keycloak.sh inside config folder