# Got Error while using open\_id\_authentication plugin

**URL:** <https://discuss.rubyonrails.org/t/got-error-while-using-open-id-authentication-plugin/25354>\
**Category:** rubyonrails-talk\
**Created:** [February 23, 2008, 11:23am UTC](https://discuss.rubyonrails.org/t/got-error-while-using-open-id-authentication-plugin/25354 "2008-02-23T11:23:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [February 23, 2008, 11:23am UTC](https://discuss.rubyonrails.org/t/got-error-while-using-open-id-authentication-plugin/25354/1 "2008-02-23T11: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.

Attachments: [http://www.ruby-forum.com/attachment/1475/account\_controller.rb](http://www.ruby-forum.com/attachment/1475/account_controller.rb)

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [February 23, 2008, 7:33pm UTC](https://discuss.rubyonrails.org/t/got-error-while-using-open-id-authentication-plugin/25354/2 "2008-02-23T19: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
