# SSO

**URL:** https://meta.discourse.org/c/support/sso/24.md?page=21

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 22

---

## [How to restrict account changes when authenticating with Google?](https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458)

<div class="topic-metadata">

**Author:** [@Philip\_Colmer](https://meta.discourse.org/u/Philip_Colmer)\
**回覆:** 9\
**Last updated:** [2016年七月15日 17:14 UTC](https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458 "2016-07-15T17:14:52Z")

</div>

We’re setting up Discourse for internal company use. All employees have a Google mail account with the same domain. I’ve configured our server to use Google oAuth and it is working but there is a slight problem … What I…

---

## [SSO with an AngularJS App/ Javascript](https://meta.discourse.org/t/sso-with-an-angularjs-app-javascript/46996)

<div class="topic-metadata">

**Author:** [@BenRoe](https://meta.discourse.org/u/BenRoe)\
**回覆:** 4\
**Last updated:** [2016年七月8日 17:22 UTC](https://meta.discourse.org/t/sso-with-an-angularjs-app-javascript/46996 "2016-07-08T17:22:05Z")

</div>

Hello, i have a running AngularJS App and use Stamplay as the backend. Discourse is running in a Subfolder. If the user login on the main App (Javascript) and it’s approved by the Stamplay backend i redirect him to the…

---

## [Will I be able to use sso if my user model comes from Hartl's Rails Tutorial?](https://meta.discourse.org/t/will-i-be-able-to-use-sso-if-my-user-model-comes-from-hartls-rails-tutorial/46641)

<div class="topic-metadata">

**Author:** [@railsnoob](https://meta.discourse.org/u/railsnoob)\
**回覆:** 1\
**Last updated:** [2016年六月29日 20:49 UTC](https://meta.discourse.org/t/will-i-be-able-to-use-sso-if-my-user-model-comes-from-hartls-rails-tutorial/46641 "2016-06-29T20:49:30Z")

</div>

Instead of using devise to build my webapp, I instead used the User model from Hartl’s Rails Tutorial. Will I be able to use sso with Discourse?

---

## [Use the same user database and login credentials in multiple discourse instances](https://meta.discourse.org/t/use-the-same-user-database-and-login-credentials-in-multiple-discourse-instances/45584)

<div class="topic-metadata">

**Author:** [@auryn\_macmillan](https://meta.discourse.org/u/auryn_macmillan)\
**回覆:** 10\
**Last updated:** [2016年六月13日 05:11 UTC](https://meta.discourse.org/t/use-the-same-user-database-and-login-credentials-in-multiple-discourse-instances/45584 "2016-06-13T05:11:29Z")

</div>

I know that it is possible to run multiple instances of discourse on the same server using a multisite setup. I’m wondering if it would be possible for multiple instances of discourse to make use of the same user databas…

---

## [Automatic authentication from many different URIs](https://meta.discourse.org/t/automatic-authentication-from-many-different-uris/45018)

<div class="topic-metadata">

**Author:** [@barryvan](https://meta.discourse.org/u/barryvan)\
**回覆:** 4\
**Last updated:** [2016年五月31日 08:26 UTC](https://meta.discourse.org/t/automatic-authentication-from-many-different-uris/45018 "2016-05-31T08:26:39Z")

</div>

In brief: I want users to come from one of our ~500 distinct application instances into a Discourse instance and be automatically authenticated. We have a mixture of on-premise and cloud-hosted instances of our app. I’…

---

## [Is it possible to "hotlink" SSO avatars?](https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232)

<div class="topic-metadata">

**Author:** [@Nuck](https://meta.discourse.org/u/Nuck)\
**回覆:** 5\
**Last updated:** [2016年五月28日 16:51 UTC](https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232 "2016-05-28T16:51:12Z")

</div>

So, SSO allows overriding avatars, but if I’m not mistaken it just downloads the avatar image and stores them in the Discourse system. Is it possible to actually allow overriding the URL, maybe providing a set of multip…

---

## [Work Around to posting](https://meta.discourse.org/t/work-around-to-posting/44413)

<div class="topic-metadata">

**Author:** [@balthatrix](https://meta.discourse.org/u/balthatrix)\
**回覆:** 3\
**Last updated:** [2016年五月18日 19:49 UTC](https://meta.discourse.org/t/work-around-to-posting/44413 "2016-05-18T19:49:02Z")

</div>

I’m noticing a couple api calls I can’t make without a csrf token: Wanting to initialize a new user here: client.sync\_sso (new\_user\_info) -and- Wanting to change an existing username here: client.put(“/users/#{old\_u…

---

## [Using existing RoR application for user auth / signup instead of discourse](https://meta.discourse.org/t/using-existing-ror-application-for-user-auth-signup-instead-of-discourse/42525)

<div class="topic-metadata">

**Author:** [@Andygmb](https://meta.discourse.org/u/Andygmb)\
**回覆:** 1\
**Last updated:** [2016年四月13日 20:52 UTC](https://meta.discourse.org/t/using-existing-ror-application-for-user-auth-signup-instead-of-discourse/42525 "2016-04-13T20:52:46Z")

</div>

Hi all, I have an existing Ruby on Rails application that I would like to integrate with discourse - Users would sign up through my Ruby on Rails application and a forum alias would be created for them. Is such a thing…

---

## [SSO via external site vs. subfolder setup](https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576)

<div class="topic-metadata">

**Author:** [@thabbs](https://meta.discourse.org/u/thabbs)\
**回覆:** 6\
**Last updated:** [2016年三月7日 19:11 UTC](https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576 "2016-03-07T19:11:35Z")

</div>

I have a fresh subfolder setup and connected an external SSO interface. The login and creation of the local discourse accounts is working perfectly. But once the user gets created via session/sso\_login he is not recogni…

---

## [禁用“SSO覆盖用户名”](https://meta.discourse.org/t/disabling-sso-overrides-username/35841)

<div class="topic-metadata">

**Author:** [@john\_mardlin](https://meta.discourse.org/u/john_mardlin)\
**回覆:** 3\
**Last updated:** [2015年十一月22日 10:02 UTC](https://meta.discourse.org/t/disabling-sso-overrides-username/35841 "2015-11-22T10:02:52Z")

</div>

我们到目前为止一直在启用“SSO Overrides Username”来运行我们的网站，并计划将其禁用。在我们这样做之前，有几个问题： 用户名是否仍然会最初从SSO中获取，但现在可以在用户的个人资料中更改；

---

## [现在覆盖头像，因为它们已经上传](https://meta.discourse.org/t/overwriting-avatars-now-that-theyre-uploaded/34987)

<div class="topic-metadata">

**Author:** [@Becky\_Herndon](https://meta.discourse.org/u/Becky_Herndon)\
**回覆:** 1\
**Last updated:** [2015年十月28日 11:37 UTC](https://meta.discourse.org/t/overwriting-avatars-now-that-theyre-uploaded/34987 "2015-10-28T11:37:02Z")

</div>

我们刚完成迁移，并在discourse上启动了社区。社区很开心！我们的论坛完全基于SSO。在用户导入期间以及上线后，我们的一些头像设置配置错误……

---

## [Problems with WP Multisite SSO](https://meta.discourse.org/t/problems-with-wp-multisite-sso/30509)

<div class="topic-metadata">

**Author:** [@Jason\_Lorje](https://meta.discourse.org/u/Jason_Lorje)\
**回覆:** 11\
**Last updated:** [2015年六月30日 10:30 UTC](https://meta.discourse.org/t/problems-with-wp-multisite-sso/30509 "2015-06-30T10:30:00Z")

</div>

Hi there I am battling to figure out SSO, it seems like there are different ways that one can implement SSO, but whatever I do seems to break something. This is my set up: Wordpress multisite (not blog farm, all subs…

[上一頁](https://meta.discourse.org/c/support/sso/24.md?page=20)
