Open robinovitch61 opened 1 month ago
There might be a different issue at play - binding to / listening on 127.0.0.1:8000
can succeed even if something else has taken :8000
(i.e. a wildcard IP, which includes IPv6) - this is totally fine, but there is inconsistency with the bind IP of 127.0.0.1
and opening the browser to localhost
which can be a different IP address (possibly depending on OS or ordering in /etc/hosts
) - a fix would be to open a browser on 127.0.0.1:$PORT
instead of localhost:$PORT
.
I worked around the issue by changing localhost:8000
in my browser (which was some other Docker-based app) to 127.0.0.1:8000
(and again after the redirect back)
Describe the issue
Since default is 127.0.0.1:8000, this could (and did for me) collide with my browser's cache. I had recently run this command:
and my browser cached the mermaid editor rather than hitting the webserver for login. I'd request the default be changed to something other than 8000 to avoid future occurrences for others.
To reproduce
kubectl oidc-login get-token --force-refresh --oidc-issuer-url=...
Your environment