You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have intermittent issues logging in on both Android Chrome and desktop Chrome with pre-signed up user. I am presented with a consent screen, select the user, do the flow and end up on a Not authorized page.
It may be due to #113 (CSRF rewrite) as it is during loading Home Assistant which fetches multiple pages //service_worker.js due to previously cashed single page app. The log clearly show different CSRF cookies in flight. I think the problem is quite large, because a new CSRF cookie would be set even for a favicon if any of the hosted page was cached.
Here is a full set of debug logs, with anonymysed IP, and hostname. Note: auth.example.com is Forward Auth and home.example.com is Home Assistant.
# Run in separate-host configuration, issuing auth for all of *.example.com.
auth-host=auth.example.com
cookie-domain=example.com
default-provider=google
# Secret for signing cookies.
secret=TRUNCATED
csrf-cookie-name=_traefik_forward_auth_csrf
cookie-name=_traefik_auth_cookie
insecure-cookie=false
lifetime=259200
Running docker version v2.2
The text was updated successfully, but these errors were encountered:
I have intermittent issues logging in on both Android Chrome and desktop Chrome with pre-signed up user. I am presented with a consent screen, select the user, do the flow and end up on a
Not authorized
page.It may be due to #113 (CSRF rewrite) as it is during loading Home Assistant which fetches multiple pages
/
/service_worker.js
due to previously cashed single page app. The log clearly show different CSRF cookies in flight. I think the problem is quite large, because a new CSRF cookie would be set even for a favicon if any of the hosted page was cached.Here is a full set of
debug
logs, with anonymysed IP, and hostname. Note:auth.example.com
is Forward Auth andhome.example.com
is Home Assistant.Relevant config ini
Running docker version v2.2
The text was updated successfully, but these errors were encountered: