google-code-export / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
1 stars 1 forks source link

No login ticket #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install latest rubycas-server, get dependencies from bundler
2. do Bundler.setup in config.ru
3.

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?

latest version, installed manually with custom authenticator, modified 
config.ru to use Bundler as 
a dependency provider.

It seems like instance variable @lt from login controller is never transfered 
to the view. I did some 
debugging, @lt is ok in the controller, and I can see @lt in the view, when I 
self.inspect, but it's 
wrapped inside @_helper, and the view cannot access it, thereafter, nobody can 
log in, because 
it's failing with:

Invalid login ticket ''

gems:

  * activerecord (2.3.8)
  * activesupport (2.3.8)
  * builder (2.1.2)
  * gettext (2.1.0)
  * hoe (2.6.1)
  * json_pure (1.4.3)
  * locale (2.0.5)
  * markaby (0.6.7)
  * picnic (0.8.1.20100201)
  * rack (1.1.0)
  * rake (0.8.7)
  * rubyforge (2.0.4)

Original issue reported on code.google.com by dusan.ma...@gmail.com on 3 Jun 2010 at 1:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Is there any advice on this? Is rubycas-server still maintained?

Original comment by dusan.ma...@gmail.com on 9 Jun 2010 at 9:39

GoogleCodeExporter commented 9 years ago
Yes, but I haven't had time to look into this, and there haven't been any other 
reports of this problem, so I suspect it might be something specific to your 
environment/configuration. Due to limited time I have to treat potentially 
idiosyncratic problems like this with lower priority.

Original comment by matt.zuk...@gmail.com on 9 Jun 2010 at 6:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 9 Jun 2010 at 8:37

GoogleCodeExporter commented 9 years ago
I removed Bundler.setup from config.ru, and now it works like a charm. So 
apparently rubycas-server doesn't work well Bundler, which is suboptimal, since 
running apps from system's shared gems, is pandora's box, especially with 
rubycas using custom authenticator.

Original comment by dusan.ma...@gmail.com on 10 Jun 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Reducing priority since this seems to be a configuration/environment issue.

Original comment by matt.zuk...@gmail.com on 24 Jun 2010 at 4:32