Defect #32420

Issue redirect after login not working

Added by James Kurczodyna 5 months ago. Updated 3 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:James Kurczodyna% Done:


Target version:-
Resolution: Affected version:


I am seeing issues with redirects after login. When I go to an issue URL while logged out I expect to be redirected to the issue after logging in. I'm seeing this on.

Steps to reproduce:
  • log out
  • go to /issues/12345
    • I get redirected to /login?
  • log in
    • I get redirected to /my/page
    • expecting to be /issues/12345

MacOS / Chrome 77.0.3865.90

Redmine version 4.0.1.stable
Ruby version 2.5.3-p105 (2018-10-18) [x86_64-linux]
Rails version 5.2.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Subversion 1.6.17
Redmine plugins:
bitbucket_reference_redmine 0.1.3
redmine_agile 1.4.8
redmine_base_deface 0.0.1
redmine_base_stimulusjs 1.0.1
redmine_checklists 3.1.14
redmine_lightbox2 0.5.0
redmine_messenger 1.0.3
redmine_multiprojects_issue 4.0.0
redmine_open_links_in_new_window 0.0.3
redmine_theme_changer 0.4.0



#1 Updated by Marius BALTEANU 5 months ago

  • Status changed from New to Needs feedback
  • Assignee set to James Kurczodyna

Please try without any plugin installed.

#2 Updated by James Kurczodyna 5 months ago

We've disabled all plugins in our dev environment and are still experiencing the issue.

#3 Updated by Holger Just 4 months ago

Please make sure that you have configured the correct hostname in Administration -> Settings -> Host name and path. For the back_url validation to work, you need to enter the external hostname here, i.e. Also make sure you have configured the correct scheme there to match your external protocol (i.e. http vs. https).

#4 Updated by James Kurczodyna 3 months ago

Both of those settings were already set correctly.

#5 Updated by Go MAEDA 3 months ago

I sometimes experience the same problem but I have not found conditions to reproduce without fail.

Also available in: Atom PDF