-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
live report.html chrome browser does not support credentials in url #2794
Comments
Glad you found it useful! Could you explain a bit more about what you mean with the credentials in the URL and how you're using them? I'm trying to get a better idea of what you're doing and what you're trying to achieve here. Thanks! |
I want to use the report with live updates. I don't want the live updates to be available without authentication. So i put the report behind basic auth and want the websocket to be as well. |
Thanks, yes that is what i was looking for. Also a way to configure it in, for example, goaccess.conf. The basic auth for the report is to secure the secret used to access the websocket from unauthorized. It is not exactly a duplicate but the #1133 could work today if only the chrome browser still allowed it. So the minimum requirement is the upgrade header and how to define it in the configuration via cli arg or file. |
Thinking a little further. If you implement authorization in the websocket service you could also add the secret/credentials to report.html during generation. This takes away some of the complextity from the implementation later. |
Very nice product you made, thanks for that.
I try to provide a live website report using the docker-compose setup with apache webserver, traefik and goaccess.
I set up a reverse proxy with basicauth for the website and also for the goaccess and this works well in i.e. firefox, safari but not with the chrome browser. I read that since chrome v59 credentials in url are not supported anymore.
My question is: how do i change goaccess.conf so it will use the headers to login to the websocket. I cannot find it in the documentation.
regards,
Jan
The text was updated successfully, but these errors were encountered: