# Cómo configurar la URL de autorización SSO mediante configuración (sin usar el panel de administración)

**URL:** https://meta.discourse.org/t/how-to-configure-the-sso-authorization-url-via-config-without-using-the-admin-panel/84572
**Category:** SSO
**Created:** [4 Abril, 2018 14:03 UTC](https://meta.discourse.org/t/how-to-configure-the-sso-authorization-url-via-config-without-using-the-admin-panel/84572 "2018-04-04T14:03:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![swarnava](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swarnava/32/120151_2.png) [@swarnava](https://meta.discourse.org/u/swarnava)
#### Post date: [4 Abril, 2018 15:05 UTC](https://meta.discourse.org/t/how-to-configure-the-sso-authorization-url-via-config-without-using-the-admin-panel/84572/2 "2018-04-04T15:05:44Z")

</div>

Hey there,

It is mentioned in the first post on this topic:

> [@Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045/1):
>
> [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) is a core Discourse feature that allows you to configure “Single Sign-On (SSO)” to completely outsource all user registration and login from Discourse to another site. Offered to our [pro, business and enterprise hosting customers](https://discourse.org/pricing). information_source (Feb 2021) ‘[Discourse SSO](https://meta.discourse.org/t/13045?silent=true)’ is now ‘[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)’. If you are running an old version of Discourse, the settings below will be named sso\_... rather than discourse\_connect\_... The Problem Many sites wishing to integrate wit…

from server console run:

```plaintext
cd /var/discourse
./launcher enter app
rails c
irb > SiteSetting.enable_sso = false
irb > SiteSetting.sso_url = "https://www.example.com/sso"
irb > SiteSetting.sso_secret = "Your_secret_token"
irb > exit
exit

```

Cheers

---

_[View the full topic](https://meta.discourse.org/t/how-to-configure-the-sso-authorization-url-via-config-without-using-the-admin-panel/84572)._
