Hi,
Passenger is throwing an error when I try and use the built in OpenID
authentication in cloudkit. The error is
"Premature end of script headers: login, referer:
http://simple-cloudkit.local/login"
And the app is simply:
#
config.ru
require 'cloudkit'
contain :notes
Going to "/" works, and going to "/login" works but then the error is
thrown when clicking 'sign in'. This process works fine if I start
the app with "rackup
config.ru", the error is only thrown when using
passenger.
Specifying OpenID explicitly and taking out OAuth also throws the
error:
#
config.ru
require 'cloudkit'
use Rack::Session::Pool
use CloudKit::OpenIDFilter
use CloudKit::Service, :collections => [:notes]
If I use 'expose' instead of 'contain' everything works correctly:
#
config.ru
require 'cloudkit'
expose :notes
The versions of the gems are:
Cloudkit version: 0.11.2
Passenger version: 2.2.2
Any ideas on this?