-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work... #4
Comments
I forgot to mention the redmine version: 2.4.6 |
Hello! Don't strongly understand your's problem. |
I mean, what I expected was to be logged in after authenticating my user In Redmine's log the user shows as anonymous. The script I made was just to It looks to be that the plugin is not in effect, and I don't know how to Is it supposed to work with redmine 2.4.6? Is there anyway to confirm that
|
This is what I get in the logs when I visit the site: https://gist.github.com/manuel-arguelles/88e6fd10bc756c23e57f I get the redmine's login page after authenticating with httpd. I suspect that single_auth plugin is not hooked correctly. How can I confirm it? |
Hello again, Sorry for opening this issue, it was my fault, I finally get it working: It seems that the variable (REMOTE_USER) was not been exposed to Ruby, I'm using Apache web server and to get it working I added RequestHeader set REMOTE-USER %{REMOTE_USER}s line to the configuration and changed the variable from REMOTE_USER to HTTP_REMOTE_USER on the plugin. |
It doesn't work and I don't know why, I make a small php script inside public directory to print $_SERVER['REMOTE_USER'] and it prints my user@domain correctly. However, after the http authentication I get redirected to /login?back_url=http%3A%2F%2Fmysite%2Fredmine%2F (login page), the user exist in database (without password)
I haven't been able to find anything on the logs, is there a way to get more logs? I just don't know what is going on... (plugin is listed in the plugins view, configuration is set to use REMOTE_USER (as default))
The text was updated successfully, but these errors were encountered: