]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
doc(auth): add auth proxy documentation 448/head
authorPierre <397503+bemble@users.noreply.github.com>
Mon, 30 May 2022 15:04:41 +0000 (17:04 +0200)
committerPierre <397503+bemble@users.noreply.github.com>
Mon, 30 May 2022 15:04:41 +0000 (17:04 +0200)
docs/configuration.md
docs/troubleshooting.md

index 84a7ea716d2dc188f42a0001edffa7fea29bf7ae..c24007722a5b9c5f5f73484ccb0fb03910f2c8d8 100644 (file)
@@ -25,7 +25,8 @@ header: true # Set to false to hide the header
 footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # set false if you want to hide it.
 
 columns: "3" # "auto" or number (must be a factor of 12: 1, 2, 3, 4, 6, 12)
-connectivityCheck: true # whether you want to display a message when the apps are not accessible anymore (VPN disconnected for example)
+connectivityCheck: true # whether you want to display a message when the apps are not accessible anymore (VPN disconnected for example).
+                        # You should set it to true when using an authentication proxy, it also reloads the page when a redirection is detected when checking connectivity.
 
 # Optional: Proxy / hosting option
 proxy:
index 649e5a61fc959d437e0a47ccd1c14dc159798b8c..10d6c2ddd63f782eaad1372e752f117b97d9f624 100644 (file)
@@ -17,3 +17,9 @@ To resolve this, you can either:
 * Host all your target service under the same domain & port.
 * Modify the target server configuration so that the response of the server included following header- `Access-Control-Allow-Origin: *` (<https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests>). It might be an option in the targeted service, otherwise depending on how the service is hosted, the proxy or web server can seamlessly add it.
 * Use a cors proxy server like [`cors-container`](https://github.com/imjacobclark/cors-container), [`cors-anywhere`](https://github.com/Rob--W/cors-anywhere) or many others.
+
+## I am using an authentication proxy and homer says I am offline
+
+This should be a configuration issue.
+* Make sure the option `connectivityCheck` is set to `true` in configuration.
+* Check your proxy configuration, the expected behavior is to redirect user using a 302 to the login page when user is not authenticated.