# שגיאת ArgumentError ב-DiscourseSsoController#sso, מספר שגוי של ארגומנטים (ניתן 1, צפוי 0)

**URL:** <https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274>\
**Category:** SSO\
**Created:** [24 במרץ,‏ 2021,‏ 9:36am UTC](https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274 "2021-03-24T09:36:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Giovacchini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrea_giovacchini/32/213224_2.png) [@Andrea\_Giovacchini](https://meta.discourse.org/u/Andrea_Giovacchini)\
**Post date:** [24 במרץ,‏ 2021,‏ 9:36am UTC](https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274/1 "2021-03-24T09:36:49Z")

</div>

Following the guide [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045) I’ve enabled [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) to share login with my existing RoR application, but I get “Error ArgumentError in DiscourseSsoController#sso, wrong number of arguments (given 1, expected 0)” after being redirected to my website and having done login.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/8/88b9a375cac829704efcefbee5e713ce168fcac7.png)

---

_[View the full topic](https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274)._
