Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Not Found #53

Open
lorvang84 opened this issue May 13, 2021 · 0 comments
Open

Not Found #53

lorvang84 opened this issue May 13, 2021 · 0 comments

Comments

@lorvang84
Copy link

Hi,

I am new to Redmine and SAML and in charge of migrating Redmine to a new server. In the mean time there is no plan to upgrade Redmine to the new version but will be after the migration. I have moved the DB and plugins and now I am trying to implement SAML. Before raking in the plugin I am able to log into Redmine via LDAP but after raking in the plugin I get an error stating Not Found.

Redmine version 3.3.2-0
omniauth_saml version (not sure because I copied it from the old server, looking at the date it was downloaded back in 2017)
Gem omniauth-1.6.1
Gem omniauth-saml-1.0.0
Gem omniauth-saml-cespi-1.3.1

Do I need to create the saml.rb file first before going into Redmine and completing this step "Finaly you need to configure some minor options for the plugin to work, in "Administration" > "Plugins" > "Configure" on the OmniAuth SAML plugin line?"

Below is what I'm seeing in my log file I've replaced my server name with SERVERNAME:

Started GET "/redmine/login?back_url=http%3A%2F%2FSERVERNAME%2Fredmine%2F" for 127.0.0.1 at 2021-05-13 16:20:10 -0700
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://SERVERNAME/redmine/"}
Current user: anonymous
Redirected to http://SERVERNAME/redmine/auth/saml?origin=http%3A%2F%2FSERVERNAME%2Fredmine%2F
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
Started GET "/redmine/auth/saml?origin=http%3A%2F%2FSERVERNAME%2Fredmine%2F" for 127.0.0.1 at 2021-05-13 16:20:10 -0700
Processing by AccountController#login_with_saml_redirect as HTML
Parameters: {"origin"=>"http://SERVERNAME/", "provider"=>"saml"}
Current user: anonymous
Rendered text template (0.0ms)
Completed 404 Not Found in 10ms (Views: 5.0ms | ActiveRecord: 1.0ms)
Started GET "/redmine/" for 127.0.0.1 at 2021-05-13 16:31:54 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Redirected to http://SERVERNAME/login?back_url=http%3A%2F%2FSERVERNAME%2Fredmine%2F
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
Started GET "/redmine/login?back_url=http%3A%2F%2FSERVERNAME%2Fredmine%2F" for 127.0.0.1 at 2021-05-13 16:31:54 -0700
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://SERVERNAME/redmine/"}
Current user: anonymous
Redirected to http://SERVERNAME/redmine/auth/saml?origin=http%3A%2F%2FSERVERNAME%2Fredmine%2F
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
Started GET "/redmine/auth/saml?origin=http%3A%2F%2FSERVERNAME%2Fredmine%2F" for 127.0.0.1 at 2021-05-13 16:31:54 -0700
Processing by AccountController#login_with_saml_redirect as HTML
Parameters: {"origin"=>"http://SERVERNAME/redmine/", "provider"=>"saml"}
Current user: anonymous
Rendered text template (0.0ms)
Completed 404 Not Found in 3ms (Views: 1.0ms | ActiveRecord: 2.0ms)

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

No branches or pull requests

1 participant