Re: Heroku, Devise and Open Id

2010-09-29 Thread sshefer
This can be marked solved. While I had the certificated required in the application rb files I just removed them from there and placed in the devise sessions controller. I also added the following: OpenID::SimpleSign.store.add_file #{Rails.root}/config/certs/ca- bundle.crt Not sure why this

Re: Heroku, Devise and Open Id

2010-09-28 Thread sshefer
After turning on debug mode in production I see the following error when loading the request: Unexpected exception performing discovery for id EXAMPLE.com: Error connecting to SSL URL https://www.google.com/accounts/o8/.well-known/host-meta?hd=EXAMPLE.com: SSL_connect returned=1 errno=0

Re: Heroku, Devise and Open Id

2010-09-27 Thread sshefer
That's the thing - I'm not. I'm going to try to make a simple app that uses the federated login with just the open_id and ruby-openid- apps-discovery gems because I really think the problem lies somewhere in Devise. The error Invalid password or email. is the default message given by Warden so

Re: Heroku, Devise and Open Id

2010-09-26 Thread Teng Siong Ong
is it possible that your open id key is only valid for localhost? On Sun, Sep 26, 2010 at 12:45 AM, sshefer shai.she...@gmail.com wrote: production and development locally and I haven't been able to get -- You received this message because you are subscribed to the Google Groups Heroku

Re: Heroku, Devise and Open Id

2010-09-26 Thread Teng Siong Ong
Like what I have mentioned in the previous post, if you are using OAuth with Federated Login, you might have to register your account and website with google. http://code.google.com/apis/accounts/docs/OpenID.html#settingup On Sun, Sep 26, 2010 at 8:07 AM, sshefer shai.she...@gmail.com wrote:

Heroku, Devise and Open Id

2010-09-25 Thread sshefer
Hi, I've implemented a login system using devise for my users with google apps id login similar to this post (http://casperfabricius.com/site/ 2010/08/09/google-apps-openid-with-rails-and-devise/) in Rails 3. This has worked well on my development machine as well as in production mode. When I

Re: Heroku, Devise and Open Id

2010-09-25 Thread Julias Shaw
Howdy Shai, I'm using Devise with a Rails 3 app to do authentication using OAuth against Facebook and everything is working fine both locally and deployed on Heroku. Hopefully that helps you narrow down the areas that might be causing trouble. Good luck, Julias

Re: Heroku, Devise and Open Id

2010-09-25 Thread sshefer
Thanks Julias! I'm using the ruby-openid-apps-discovery gem for connecting the app to the Google Federated ID. Like I said, it works flawlessly for both production and development locally and I haven't been able to get anything out of the heroku logs to troubleshoot. I'll keep digging to see