# Discourse Connect on Local instance is not working

**URL:** <https://meta.discourse.org/t/discourse-connect-on-local-instance-is-not-working/192653>\
**Category:** Support\
**Created:** [June 4, 2021, 7:36am UTC](https://meta.discourse.org/t/discourse-connect-on-local-instance-is-not-working/192653 "2021-06-04T07:36:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Vairav\_Lakshmanan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vairav_lakshmanan/32/222486_2.png) [@Vairav\_Lakshmanan](https://meta.discourse.org/u/Vairav_Lakshmanan)\
**Post date:** [June 4, 2021, 7:36am UTC](https://meta.discourse.org/t/discourse-connect-on-local-instance-is-not-working/192653/1 "2021-06-04T07:36:21Z")

</div>

When I tried to set up discourse in my local machine following the below article: [Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772).

Set up is fine and the discourse is running locally. But when I enable discourse-connect to use [discourse connect](https://meta.discourse.org/t/13045?silent=true) authentication following the below article: [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045)

After this setup, if I tried to click on login button, am getting the error as follows 🙂

**# NoMethodError in DevelopmentAuth::FakeDiscourseConnectController#auth**

**undefined method `is\_allowed?’ for #DevelopmentAuth::FakeDiscourseConnectController:0x00007f9e1e8ec3a8**

Please help me to resolve this issue and make [discourse connect](https://meta.discourse.org/t/13045?silent=true) work in local instance. I have also attached the error screenshot FYR.

TIA

 ![Screenshot 2021-06-04 at 1.05.31 PM](https://global.discourse-cdn.com/meta/original/3X/9/e/9e620bb5110c0fe2037efc847eb7f275904f532d.png)

---

_[View the full topic](https://meta.discourse.org/t/discourse-connect-on-local-instance-is-not-working/192653)._
