# SSO 至 Joomla 站点

**URL:** <https://meta.discourse.org/t/sso-to-joomla-site/107870>\
**Category:** Self-hosting\
**Created:** [2019年一月29日 23:09 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870 "2019-01-29T23:09:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alehman](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@alehman](https://meta.discourse.org/u/alehman)\
**Post date:** [2019年一月29日 23:09 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/1 "2019-01-29T23:09:17Z")

</div>

Has anyone attempted SSO to a Joomla site. My club has an existing Joomla site with a member database and I would like to authenticate Discourse users to that site. I’m having trouble implementing SSO on the Joomla side. I’m looking at the miniOrange SAML plugin but can’t figure out how to connect Discourse to it. Am I headed down the right path with this?  
Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![alehman](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@alehman](https://meta.discourse.org/u/alehman)\
**Post date:** [2019年二月3日 18:24 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/2 "2019-02-03T18:24:52Z")

</div>

Does anyone know what SSO protocol Discourse uses? I saw a post that eluded to CAS. Trying to find a Joomla plugin that will work with it.  
Thanks

---

<div class="post-metadata">

**Author:** ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)\
**Post date:** [2019年二月3日 21:03 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/3 "2019-02-03T21:03:53Z")

</div>

I’m not sure why you haven’t got a response here. Unless others are waiting for you to do some simple searches on this site. Anyway, I hope this helps as I’m no expert on SSO.

SSO or SAML connection will be by setting an SSO/target URL at Discourse.

Have you read these topics on Discourse and off-site SSO?

> [@Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045):
>
> [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…

> [@Debug and fixing common DiscourseConnect issues](https://meta.discourse.org/t/debugging-and-fixing-common-sso-issues/103496):
>
> As the administrator of a forum that is using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), you may occasionally get reports from users that when they attempt to login to the forum, they are greeted by an error message. For example: “There is a problem with your account. Please contact the site’s administrator.” Enabling verbose [discourse connect](https://meta.discourse.org/t/13045?silent=true) logging To debug the issue, the first thing you need to do is to enable the ‘verbose [discourse connect](https://meta.discourse.org/t/13045?silent=true) logging’ Site Setting on Discourse. If this setting was previo…

Did you find the [SAML plug-in](https://github.com/discourse/discourse-saml)?  
[https://meta.discourse.org/t/adding-saml-sso-as-an-option-but-not-enforced/47035?u=remah](https://meta.discourse.org/t/adding-saml-sso-as-an-option-but-not-enforced/47035)

And here’s a comment about preferring SAML over CAS. Interestingly enough, by the author of this software to help with CAS to Discourse:  
[https://meta.discourse.org/t/cas-auth-via-the-sso-api/23381/9?u=remah](https://meta.discourse.org/t/cas-auth-via-the-sso-api/23381/9)

Much like the comment above. Note that has useful explanations unrelated to Ruby on Rails:

> <https://stackoverflow.com/questions/29053277/cas-vs-saml-vs-oauth2>

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2019年二月3日 21:33 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/4 "2019-02-03T21:33:29Z")

</div>

There haven’t been any replies because this isn’t really a Discourse question to begin with.

OP wants their Joomla site to be authoritative for identity, and as you’ve already linked Discourse can make use of a wide range of sign-in standards. The missing link here is a Joomla component to act as the source of identity and sign in based on one of those standards.

---

<div class="post-metadata">

**Author:** ![alehman](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@alehman](https://meta.discourse.org/u/alehman)\
**Post date:** [2019年二月4日 17:40 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/5 "2019-02-04T17:40:10Z")

</div>

Thanks Remah. I had read through the “Officail Single-Sign-On” thread and it helped me understand the Discourse side of it to some degree. But I couldn’t see that it said which SSO protocol I should be using on the Joomla side.

Thanks for the stackoverflow link. That helps fill in some gaps for me.

I was hoping someone here has already done what I need and might be able to explain in a few sentences the best way to accomplish this integration on both sides.

---

<div class="post-metadata">

**Author:** ![alehman](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@alehman](https://meta.discourse.org/u/alehman)\
**Post date:** [2019年二月4日 17:46 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/6 "2019-02-04T17:46:42Z")

</div>

Thanks Stephen. Yes, I realize this isn’t strictly a Discourse question. I’m sorry if that oversteps the bounds of this forum and I do realize that mostly developers hang out here. Is there another venue that would be better for end-user / installation type questions?

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2019年二月4日 17:48 UTC](https://meta.discourse.org/t/sso-to-joomla-site/107870/7 "2019-02-04T17:48:41Z")

</div>

You could try asking the [Joomla Community](https://forum.joomla.org/)
