Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Rails上的身份验证w/Authlogic不与Chome一起工作_Ruby On Rails_Google Chrome_Authentication - Fatal编程技术网

Ruby on rails Rails上的身份验证w/Authlogic不与Chome一起工作

Ruby on rails Rails上的身份验证w/Authlogic不与Chome一起工作,ruby-on-rails,google-chrome,authentication,Ruby On Rails,Google Chrome,Authentication,我有一个带有最新版本Authlogic的Rails 3.0应用程序。用户登录在本地主机上按预期工作。它可以在生产中使用Safari、Firefox或匿名模式下的Chrome,但在正常使用Chrome时不起作用。我在config.ru中连接了一个Resque接口,但打开或关闭它并没有什么区别 当allow\u http\u basic\u auth设置为false时,它确实可以工作,但我需要启用它,因为我们的API使用basic auth 还有谁有类似的问题,或者知道是什么导致了这种情况 更新:

我有一个带有最新版本Authlogic的Rails 3.0应用程序。用户登录在本地主机上按预期工作。它可以在生产中使用Safari、Firefox或匿名模式下的Chrome,但在正常使用Chrome时不起作用。我在
config.ru
中连接了一个Resque接口,但打开或关闭它并没有什么区别

allow\u http\u basic\u auth
设置为false时,它确实可以工作,但我需要启用它,因为我们的API使用basic auth

还有谁有类似的问题,或者知道是什么导致了这种情况

更新:

因此,我可以通过键入完整的URL(例如),使用http_basic登录Chrome

Chrome中的cookie(无法登录时)与Safari中的cookie相同

看起来用户实际登录了,然后重定向到另一个页面(302)。然后,此页面认为用户未登录,然后用户被重定向到登录页面