Skip to content
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

Cannot log out when using RStudio Server behind a reverse proxy #1675

Closed
jstaf opened this issue Oct 26, 2017 · 3 comments
Closed

Cannot log out when using RStudio Server behind a reverse proxy #1675

jstaf opened this issue Oct 26, 2017 · 3 comments

Comments

@jstaf
Copy link

jstaf commented Oct 26, 2017

The latest version of RStudio Server (open source) cannot log out successfully when hosted behind a reverse proxy.

When tested with the recommended Apache config, attempting to log out takes the user to the /auth-sign-out page with nothing on it but Missing or incorrect token.. The user is unable to logout without clearing cookies or redirecting to the sign up page as described in: #1538

This is using the rstudio-server-rhel-1.1.383-x86_64.rpm on Centos 7.

@jmcphers
Copy link
Member

This is fixed in #1538. We'll include it in a 1.1 patch release or the upcoming 1.2. Thanks for reporting!

@jstaf
Copy link
Author

jstaf commented Oct 27, 2017

Good to hear! I tried building the newest RStudio Server from source just now with the fixes in it (I guess I just really wanted to try out the new terminal...), but kept running into the same issue. Is there a file that persists between RStudio Server upgrades that I need to delete/reset (could also be a config issue elsewhere)? I just did a yum remove rstudio-server, built the package, then installed the .rpm built from source.

@jstaf
Copy link
Author

jstaf commented Oct 27, 2017

Ok found the issue, got caused by this line in my Apache config:

Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants