OpenID on Heroku

246 views
Skip to first unread message

Ved Antani

unread,
Dec 30, 2010, 11:31:28 AM12/30/10
to omniauth
Can you guys tell me how to setup an in-memory Memcached based (or
otherwise) store for OpenID support on Heroku. Heroku is not
allowing /tmp based storage.

Madhu

unread,
Dec 30, 2010, 12:25:10 PM12/30/10
to omni...@googlegroups.com
You need to specify 

provider :open_id, nil

in the configuration. And use the memcached gem. Also i guess you need to enable memcached addon.

Check this demo app. https://github.com/madhums/omniauth-on-heroku/

-- Madhusudhan

Ved Antani

unread,
Dec 31, 2010, 10:17:45 AM12/31/10
to omni...@googlegroups.com
Thanks, the steps work fine.

Turadg

unread,
Jan 11, 2011, 3:15:48 PM1/11/11
to omniauth
Madhums, thanks for making that demo app. Is there another URL for it?
That URL is giving 404.

On Dec 30 2010, 12:25 pm, Madhu <madhu...@gmail.com> wrote:
> You need to specify
>
> provider :open_id, nil
>
> in the configuration. And use the memcached gem. Also i guess you need to
> enable memcached addon.
>
> Check this demo app.https://github.com/madhums/omniauth-on-heroku/

Madhu

unread,
Jan 12, 2011, 1:59:57 AM1/12/11
to omni...@googlegroups.com
Now the url https://github.com/madhums/omniauth-on-heroku works fine... I had actually deleted it as it was just a minor modification that you need to do in config/initializers/omniauth.rb.

Hope it helps.

Cheers
-- 
Madhusudhan
Reply all
Reply to author
Forward
0 new messages