BeryJu / hass-auth-header

Home Assistant custom component, which allows you to delegate authentication to a reverse proxy.
GNU General Public License v3.0
219 stars 18 forks source link

Can you help me? nginx proxy manager + keycloak + oauth0-proxy + ha #278

Open Hadatko opened 11 months ago

Hadatko commented 11 months ago

Hello i am trying whole day to setup these stacks together to make it working, bud no luck. Are you able to provide some demo how to setup some auth stacks to work with your addon?

e.g. redirect-url i was trying to set https://myha/auth/authorize but getting Message format incorrect: required key not provided @ data['client_id']

Hadatko commented 11 months ago

After long day playing around i got here. Do you know why it is waiting here and then fail? (Were you facing something similar?) image

It waits on auth/login_flow and then failed with 405 i think

Hadatko commented 11 months ago

Is it that correct server? server.themisas.cz? Mine is ha.hadi-doupe.eu or sso.hadi-doupe.eu

image Logger: homeassistant.components.http.ban Source: components/http/ban.py:80 Integration: HTTP (documentation, issues) First occurred: 9:57:23 AM (3 occurrences) Last logged: 9:57:37 AM

Login attempt or request with invalid authentication from server.themisas.cz (213.194.221.250). Requested URL: '/auth/login_flow/ef4f650eaf13d1e5d9220594a64be0db'. (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36)