I am not sure how to debug Rails 7.1, redirect_to() not working vs in Rails 3.2 the same exact code works.
Within Rails 3.2, I have a Controller action “logout” that contains the below and logs me out of Shibboleth:
redirect_to('/Shibboleth.sso/Logout?return=https://login.edu/logout')
Within Rails 7.1, I have a Controller action “logout” that contains the below and when triggered just goes to the root route of the application.
redirect_to('/Shibboleth.sso/Logout?return=https://login.edu/logout')
As a test, within Rails 7.1 I made a HTML link (below) that does log me out of Shibboleth when I click it.
<p><%= link_to('Shib Log Out', '/Shibboleth.sso/Logout?return=https://login.edu/logout') %></p>
Does anyone have any thoughts on why Rails 7.1 redirect_to() no longer works?
Thank you