# Got Error while using open\_id\_authentication plugin

**URL:** <https://www.ruby-forum.com/t/got-error-while-using-open-id-authentication-plugin/129974>\
**Category:** Rails\
**Created:** [February 23, 2008, 12:23pm UTC](https://www.ruby-forum.com/t/got-error-while-using-open-id-authentication-plugin/129974 "2008-02-23T12:23:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag\_shah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chirag\_shah](https://www.ruby-forum.com/u/chirag_shah)\
**Post date:** [February 23, 2008, 12:23pm UTC](https://www.ruby-forum.com/t/got-error-while-using-open-id-authentication-plugin/129974/1 "2008-02-23T12:23:33Z")

</div>

Hi,  
Please help me.  
I have installed open\_id\_authentication plugin in my application.  
I got an error “undefined method `authenticate\_with\_open\_id’ for  
#AccountController:0x2aab49c51c68” in open\_id\_authentication plugin.  
I had already write “require ‘open\_id\_authentication’” and also written  
require\_gem ‘ruby-openid’ in my controller where i have to used.  
But still i got problem of it.  
see the attachment of my controller.

---

<div class="post-metadata">

**Author:** ![chirag\_shah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chirag\_shah](https://www.ruby-forum.com/u/chirag_shah)\
**Post date:** [February 23, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/got-error-while-using-open-id-authentication-plugin/129974/2 "2008-02-23T20:33:20Z")

</div>

Chirag Shah wrote:

> Hi,  
> Please help me.  
> I have installed open\_id\_authentication plugin in my application.  
> I got an error “undefined method `authenticate\_with\_open\_id’ for  
> #AccountController:0x2aab49c51c68” in open\_id\_authentication plugin.  
> I had already write “require ‘open\_id\_authentication’” and also written  
> require\_gem ‘ruby-openid’ in my controller where i have to used.  
> But still i got problem of it.  
> see the attachment of my controller.

Did you follow the setup guide that came with the plugin and make the  
necessary changes to config/environment.rb?

hth

ilan

---

<div class="post-metadata">

**Author:** ![chirag\_shah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chirag\_shah](https://www.ruby-forum.com/u/chirag_shah)\
**Post date:** [March 8, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/got-error-while-using-open-id-authentication-plugin/129974/3 "2009-03-08T20:41:54Z")

</div>

Ilan B. wrote:

> Chirag Shah wrote:
> 
> > Hi,  
> > Please help me.  
> > I have installed open\_id\_authentication plugin in my application.  
> > I got an error “undefined method `authenticate\_with\_open\_id’ for  
> > #AccountController:0x2aab49c51c68” in open\_id\_authentication plugin.  
> > I had already write “require ‘open\_id\_authentication’” and also written  
> > require\_gem ‘ruby-openid’ in my controller where i have to used.  
> > But still i got problem of it.  
> > see the attachment of my controller.
> 
> Did you follow the setup guide that came with the plugin and make the  
> necessary changes to config/environment.rb?
> 
> hth
> 
> ilan

I am getting this same error. I have followed the steps in the  
config/environment.rb. Any other suggestions?
