robdimarco / omniauth_crowd

An OmniAuth provider for Atlassian Crowd REST API
MIT License
30 stars 21 forks source link

OmniAuth 1.0 released #5

Closed alphaone closed 12 years ago

alphaone commented 13 years ago

OmniAuth 1.0 was just released.

So for now you have to change your Gemfile

`gem 'omniauth', '~> 0.3.2'``

Any plans on upgrading omniauth_crowd to work with the newer version?

robdimarco commented 13 years ago

I would like to, but don't have a plan/timeline right now for it. I would greatly welcome patches to make it happen.

robdimarco commented 12 years ago

I have just released a 2.0.0 version that I have deployed in an app using omniauth 1.0

alphaone commented 12 years ago

Hi,

I tried to upgrade to omniauth 1.0.0 and omniauth_crowd 2.0.0. With no luck.

I get an NoMethodError for use_ssl=:

Started GET "/auth/crowd/callback" for <ip> at Wed Nov 23 10:15:07 +0100 2011

NoMethodError (undefined method `use_ssl=' for #<Net::HTTP localhost:8095 open=false>):

And a second note: is it correct that omniauth_crowd 2.0.0 still requires oa-core which is still verion 0.3.2?

robdimarco commented 12 years ago

Commit 45a8a70c11a79ee6d7bf42d82d97c48d76ca485a fixes the ssl issue, there was a missing require. You can either update to the latest version of the gem or just put a require net/https in your code.

alphaone commented 12 years ago

Thank you very much. Works like charm.