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
Redirected to auth-success "Test" page after login #435
Comments
Hi, thanks for reporting this. |
Hello, I tried using: Brave (1.56.11) and Firefox (115.0.2) browsers. Here is the error when refreshing Uncaught DOMException: The operation is insecure.
<anonymous> https://mydomain/auth-success:32 and Brave: Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://mydomain/' cannot be created in a document with origin 'https://mydomain' and URL 'https://mydomain/auth-success'. Here is my apache2 reverse proxy configuration too (I removed all irrelevant parameters): <VirtualHost *:80>
ServerName mydomain
RedirectMatch temp ^(?!/.well-known/)(.*) https:/mydomain$1
</VirtualHost>
<VirtualHost *:443>
ServerName mydomain
SSLEngine on
SSLCertificateFile /etc/apache2/certs/mydomain/cert.pem
SSLCertificateChainFile /etc/apache2/certs/mydomain/chain.pem
SSLCertificateKeyFile /etc/apache2/certs/mydomain/privkey.pem
ProxyPreserveHost On
RewriteEngine on
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule ^/?(.*) "ws://myIP:8080/$1" [P,L]
<Location />
ProxyPass http://myIP:8080/
ProxyPassReverse http://myIP:8080/
</Location>
</VirtualHost> For information:
Thanks for you help |
Hi, the
(note that this requires the Next you'll have to add the following configuration to ShinyProxy (on the root level of the configuration file, not nested under server:
forward-headers-strategy: native I updated the documentation to includes this fix. |
Hello, Thank you very much for the explanations. I made the changes and everything works fine now ! |
Hi, I still have the same issue. Here is my configuration for shinyproxy and apache2. Could you take a look? I am using shinyproxy 3.0.2. Thank you.
|
It seems you made a typo here: server:
forward-header-strategy: native The correct could should have headers instead of header: server:
forward-headers-strategy: native |
Hello,
I have just installed the latest version of ShinyProxy (3.0.2) via the .deb package, on Ubuntu 20.04 and since then, whenever I authenticate (using OpenID or LDAP configurations (tried both)), I am consistently redirected to a blank page named
/auth-success
that contains the messageTest
.To access the homepage, I have to remove
/auth-success
from the URL and refresh the page. Afterwards, everything works correctly.Here's my configuration file:
Could I have forgotten to configure something?
Thanks !
The text was updated successfully, but these errors were encountered: