Hi, I was trying out this plugin but can't seem to get it working with an already working Cas server (other apps seem to work ok). Is this a configuration error?. This is the output in the logs:
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 240ms (ActiveRecord: 82.8ms)
Started GET "/login?back_url=http%3A%2F%2F172.30.168.29%3A3000%2F" for 172.30.17 2.75 at 2013-02-06 11:46:37 -0600
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://172.30.168.29:3000/"}
Current user: anonymous
Rendered plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_acc ount_login_top.html.erb (133.6ms)
Rendered account/login.html.erb within layouts/base (218.1ms)
Completed 200 OK in 368ms (Views: 359.9ms | ActiveRecord: 4.0ms)
(cas) Setup endpoint detected, running now.
(cas) Request phase initiated.
Started GET "/auth/cas?origin=http%3A%2F%2F172.30.168.29%3A3000%2F" for 172.30.1 72.75 at 2013-02-06 11:48:04 -0600
(cas) Setup endpoint detected, running now.
(cas) Callback phase initiated.
(cas) Authentication failure! invalid_ticket: OmniAuth::Strategies::CAS::Invalid CASTicket, Invalid CAS Ticket
Started GET "/auth/cas/callback?origin=http%3A%2F%2F172.30.168.29%3A3000%2F&tick et=ST-2295-nvQCt6UJ2uibaNk7Y7yz-cas" for 172.30.172.75 at 2013-02-06 11:50:48 -0 600
Started GET "/auth/failure?message=invalid_ticket&origin=http%3A%2F%2F172.30.168 .29%3A3000%2F&strategy=cas" for 172.30.172.75 at 2013-02-06 11:51:19 -0600
Processing by AccountController#login_with_cas_failure as HTML
Parameters: {"message"=>"invalid_ticket", "origin"=>"http://172.30.168.29:3000 /", "strategy"=>"cas"}
Current user: anonymous
Redirected to http://172.30.168.29:3000/login
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
Started GET "/login" for 172.30.172.75 at 2013-02-06 11:51:49 -0600
Processing by AccountController#login as HTML
Current user: anonymous
Rendered plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_acc ount_login_top.html.erb (1.1ms)
Rendered account/login.html.erb within layouts/base (2.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.8ms)
Hi, I was trying out this plugin but can't seem to get it working with an already working Cas server (other apps seem to work ok). Is this a configuration error?. This is the output in the logs:
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 240ms (ActiveRecord: 82.8ms)
Started GET "/login?back_url=http%3A%2F%2F172.30.168.29%3A3000%2F" for 172.30.17 2.75 at 2013-02-06 11:46:37 -0600
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://172.30.168.29:3000/"}
Current user: anonymous
Rendered plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_acc ount_login_top.html.erb (133.6ms)
Rendered account/login.html.erb within layouts/base (218.1ms)
Completed 200 OK in 368ms (Views: 359.9ms | ActiveRecord: 4.0ms)
(cas) Setup endpoint detected, running now.
(cas) Request phase initiated.
Started GET "/auth/cas?origin=http%3A%2F%2F172.30.168.29%3A3000%2F" for 172.30.1 72.75 at 2013-02-06 11:48:04 -0600
(cas) Setup endpoint detected, running now.
(cas) Callback phase initiated.
(cas) Authentication failure! invalid_ticket: OmniAuth::Strategies::CAS::Invalid CASTicket, Invalid CAS Ticket
Started GET "/auth/cas/callback?origin=http%3A%2F%2F172.30.168.29%3A3000%2F&tick et=ST-2295-nvQCt6UJ2uibaNk7Y7yz-cas" for 172.30.172.75 at 2013-02-06 11:50:48 -0 600
Started GET "/auth/failure?message=invalid_ticket&origin=http%3A%2F%2F172.30.168 .29%3A3000%2F&strategy=cas" for 172.30.172.75 at 2013-02-06 11:51:19 -0600
Processing by AccountController#login_with_cas_failure as HTML
Parameters: {"message"=>"invalid_ticket", "origin"=>"http://172.30.168.29:3000 /", "strategy"=>"cas"}
Current user: anonymous
Redirected to http://172.30.168.29:3000/login
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
Started GET "/login" for 172.30.172.75 at 2013-02-06 11:51:49 -0600
Processing by AccountController#login as HTML
Current user: anonymous
Rendered plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_acc ount_login_top.html.erb (1.1ms)
Rendered account/login.html.erb within layouts/base (2.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.8ms)