Project

General

Profile

Actions

Defect #11476

closed

No redirect when after logged in

Added by # And almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When I go on project page unauthorized, my request redirecting to url like:
http://redmine/login?back_url=http%3A%2F%2Fthin_redmine%2Fprojects%2Fmy-project%2Fsettings

But when I logged in, after inputing login and password, request redirected to "my page", not to project page. Is it bug?

Actions #1

Updated by # And almost 12 years ago

Found the bug. Why host in back url - thin_redmine?

Actions #2

Updated by Etienne Massip almost 12 years ago

What URL did you set in your administration settings?

Actions #3

Updated by # And almost 12 years ago

It is not thin_redmine.

Actions #4

Updated by # And almost 12 years ago

I use nginx - thin - redmine, if you want to know. One time when I use thin_redmine keyword - it is nginx upstream. Redmine system use SERVER_NAME or name from settings? I think SERVER_NAME is thin_redmine.

Actions #5

Updated by # And over 11 years ago

  • Status changed from New to Resolved

Ok, configuration issue. Thanks for reply.

Actions #6

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

OK, thanks for the feedback.

Actions #7

Updated by Terence Mill over 10 years ago

I have the same issue using apache(mod_proxy)+webrick. Can u help me. What was the config issue, how to solve it?
If i logged out and put user/pwd again on this site anc click login i don't get redirected to the main site, If i click "login" in the main menue i am already logged in and get redirect correctly. It only does not work i my browser points to
https://myredmine.loc/login?back_url=http%253A%252F%252Fmyredmine.loc%252F

Actions

Also available in: Atom PDF