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've been successfully using Google OAuth with my Docker containers for years, but for some reason it's recently stopped working, giving the following error:
I don't know if it's related, but the following messages appears in the OAuth logs when Trace logging is enabled.
level=warning msg="You are using \"secure\" cookies for a request that was not received via https. You should either redirect to https or pass the \"insecure-cookie\" config option to permit cookies via http." handler=Auth host=app3.example.com method=GET proto="https,wss" rule=default source_ip=192.168.1.1 uri=/
level=debug msg="Set CSRF cookie and redirected to provider login url" csrf_cookie="_forward_auth_csrf_7553f6=xxxxxxxxxxxx; Path=/; Domain=example.com; Expires=Sat, 04 Dec 2021 14:05:03 GMT; HttpOnly; Secure" handler=Auth host=app3.example.com login_url="https://accounts.google.com/o/oauth2/auth?client_id=xxxxxxxxxxx.apps.googleusercontent.com&prompt=select_account&redirect_uri=https%2Cwss%3A%2F%2Foauth.example.com%2F_oauth&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&state=xxxxxxxxxxxxxxx%3Agoogle%3Ahttps%2Cwss%3A%2F%2Fapp3.example.com%2F" method=GET proto="https,wss" rule=default source_ip=192.168.1.1 uri=/
Is it normal to have wss in the redirect_uri and/or 'proto="https,wss"'? Where is this set?
I use Traefik and OAuth with the following configuration:
I've been successfully using Google OAuth with my Docker containers for years, but for some reason it's recently stopped working, giving the following error:
I don't know if it's related, but the following messages appears in the OAuth logs when Trace logging is enabled.
Is it normal to have wss in the redirect_uri and/or 'proto="https,wss"'? Where is this set?
I use Traefik and OAuth with the following configuration:
Traefik Middleware for OAuth:
The redirect URI on Google's Dev console is:
Here are the Docker labels I use for Portainer as an example:
The text was updated successfully, but these errors were encountered: