# SSO

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

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

**Page:** 21

---

## [Create SSO Users, Adding To Group, Subscribing to Category via API](https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335)

<div class="topic-metadata">

**Author:** [@SwisherSweet](https://meta.discourse.org/u/SwisherSweet)\
**回覆:** 5\
**Last updated:** [2017年八月4日 00:43 UTC](https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335 "2017-08-04T00:43:29Z")

</div>

Hi, Our external system needs to integrate with Discourse. Discourse is currently using SSO to authenticate against our external system with no issues. However, we need to automate a few things: External users need to…

---

## [Discourse SSO + normal login](https://meta.discourse.org/t/discourse-sso-normal-login/67262)

<div class="topic-metadata">

**Author:** [@bufordtaylor](https://meta.discourse.org/u/bufordtaylor)\
**回覆:** 1\
**Last updated:** [2017年八月1日 18:56 UTC](https://meta.discourse.org/t/discourse-sso-normal-login/67262 "2017-08-01T18:56:14Z")

</div>

Haven’t seen this topic popup. I’ve inherited a Discourse server and I’m looking to implement SSO without abandoning all the previous users who logged in without SSO. Basically this flow: User on Discourse is logged o…

---

## [Groups not being added to new users](https://meta.discourse.org/t/groups-not-being-added-to-new-users/67111)

<div class="topic-metadata">

**Author:** [@SwisherSweet](https://meta.discourse.org/u/SwisherSweet)\
**回覆:** 3\
**Last updated:** [2017年七月31日 16:29 UTC](https://meta.discourse.org/t/groups-not-being-added-to-new-users/67111 "2017-07-31T16:29:30Z")

</div>

I have implemented SSO in ASP.net MVC using the sample code on this site as a guide. The SSO authentication feature works great, however my group membership is not working. Here’s the relevant code: string returnPaylo…

---

## [Discourse-saml + Okta endless redirect](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525)

<div class="topic-metadata">

**Author:** [@runofthemill](https://meta.discourse.org/u/runofthemill)\
**回覆:** 7\
**Last updated:** [2017年七月20日 19:36 UTC](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525 "2017-07-20T19:36:08Z")

</div>

Hi there - I’m trying to get the discourse-saml plugin working with Okta; I’ve scoured the existing threads, and can’t seem to figure out what’s going on. When I go to the login page, it prompts me to log in with my Okt…

---

## [Syncing bans from SSO provider](https://meta.discourse.org/t/syncing-bans-from-sso-provider/41554)

<div class="topic-metadata">

**Author:** [@Nuck](https://meta.discourse.org/u/Nuck)\
**回覆:** 4\
**Last updated:** [2017年六月29日 15:48 UTC](https://meta.discourse.org/t/syncing-bans-from-sso-provider/41554 "2017-06-29T15:48:03Z")

</div>

Would it be possible to sync a ban/suspension via SSO? If this is too broad for SSO (which, tbh, it probably is) is there a different API that would make it fairly simple? For Hummingbird.me, we often get people we hav…

---

## [Shibboleth / SAML / SSO -- Working Implementation for Higher Ed](https://meta.discourse.org/t/shibboleth-saml-sso-working-implementation-for-higher-ed/62605)

<div class="topic-metadata">

**Author:** [@nmagee](https://meta.discourse.org/u/nmagee)\
**回覆:** 0\
**Last updated:** [2017年五月12日 19:11 UTC](https://meta.discourse.org/t/shibboleth-saml-sso-working-implementation-for-higher-ed/62605 "2017-05-12T19:11:50Z")

</div>

Our campus, like many others around the US, is part of the InCommon federation, and shares a federated SAML authentication pool. So, while IT services had straightforward documentation for how to plug Shibboleth into Apa…

---

## [Decrease default session timeout](https://meta.discourse.org/t/decrease-default-session-timeout/62621)

<div class="topic-metadata">

**Author:** [@Volodymyr\_Fedak](https://meta.discourse.org/u/Volodymyr_Fedak)\
**回覆:** 2\
**Last updated:** [2017年五月13日 00:20 UTC](https://meta.discourse.org/t/decrease-default-session-timeout/62621 "2017-05-13T00:20:53Z")

</div>

Hello, We’re launching discourse as a docker image where we have possibility to modify app.yml. Also we’re using SSO feature to log in/out users to discourse forum. And the problem is that existing framework doesn’t al…

---

## [SSO: Support multiple "sso url"s](https://meta.discourse.org/t/sso-support-multiple-sso-url-s/61758)

<div class="topic-metadata">

**Author:** [@sascha](https://meta.discourse.org/u/sascha)\
**回覆:** 2\
**Last updated:** [2017年五月4日 02:07 UTC](https://meta.discourse.org/t/sso-support-multiple-sso-url-s/61758 "2017-05-04T02:07:17Z")

</div>

We want to use discourse in an unusual scenario where we have 400+ different IdP instances with one central discourse instance as the SP. We initiate SSO from these 400+ portal pages by redirecting to /session/sso, which…

---

## [SSO API vs new user API,.Which one to use?](https://meta.discourse.org/t/sso-api-vs-new-user-api-which-one-to-use/61254)

<div class="topic-metadata">

**Author:** [@riz](https://meta.discourse.org/u/riz)\
**回覆:** 1\
**Last updated:** [2017年四月27日 23:21 UTC](https://meta.discourse.org/t/sso-api-vs-new-user-api-which-one-to-use/61254 "2017-04-27T23:21:51Z")

</div>

I would like users who login to my website to automatically be able to post onto my discuss forum. So should I be looking into SSO through its Api? (I don’t have WordPress). Or should I be looking at creating new user …

---

## [Single sign on for non-wordpress site, using bubble code free](https://meta.discourse.org/t/single-sign-on-for-non-wordpress-site-using-bubble-code-free/61245)

<div class="topic-metadata">

**Author:** [@riz](https://meta.discourse.org/u/riz)\
**回覆:** 7\
**Last updated:** [2017年四月21日 15:54 UTC](https://meta.discourse.org/t/single-sign-on-for-non-wordpress-site-using-bubble-code-free/61245 "2017-04-21T15:54:10Z")

</div>

Hello, I would like to implement single sign On with my site. I kind of don’t know where to start. It’s not a WordPress site, it’s built in bubble codefree app. Now I can call APIs through this, so maybe I can do all…

---

## [Would anyone like to tell me how very wrong I am?](https://meta.discourse.org/t/would-anyone-like-to-tell-me-how-very-wrong-i-am/60604)

<div class="topic-metadata">

**Author:** [@npflood](https://meta.discourse.org/u/npflood)\
**回覆:** 1\
**Last updated:** [2017年四月11日 17:22 UTC](https://meta.discourse.org/t/would-anyone-like-to-tell-me-how-very-wrong-i-am/60604 "2017-04-11T17:22:04Z")

</div>

I’m implementing a strategy to synchronize sessions between Discourse and another rails application. What I’m doing works. BUT I’m sure I’m violating several best-practices and missing some key optimizations. Anybody wa…

---

## [反向单点登录：可以在我的其他网站上使用Discourse账户吗？](https://meta.discourse.org/t/reverse-single-sign-on-possible-to-use-discourse-accounts-on-my-other-site/60170)

<div class="topic-metadata">

**Author:** [@pv0](https://meta.discourse.org/u/pv0)\
**回覆:** 2\
**Last updated:** [2017年三月30日 10:47 UTC](https://meta.discourse.org/t/reverse-single-sign-on-possible-to-use-discourse-accounts-on-my-other-site/60170 "2017-03-30T10:47:04Z")

</div>

你好， 我是新来的，如果我没有遵守你们所有的论坛规则，请你们耐心一点。 我希望我的用户使用 Discourse 登录，这样我就不用为主站建立自己的账户管理（因为…

---

## [.../login link force redirect to "latest" view](https://meta.discourse.org/t/login-link-force-redirect-to-latest-view/59780)

<div class="topic-metadata">

**Author:** [@Steven\_Tib](https://meta.discourse.org/u/Steven_Tib)\
**回覆:** 1\
**Last updated:** [2017年三月29日 18:03 UTC](https://meta.discourse.org/t/login-link-force-redirect-to-latest-view/59780 "2017-03-29T18:03:04Z")

</div>

Hi all, I’ve just successfully setup SSO between our main app and our new discourse forum, however I’m having a small (but annoying) behavior. From my main app, I’ve set up a link to the forum that forces the user to l…

---

## [Discourse 论坛的 SSO 安全漏洞](https://meta.discourse.org/t/security-breach-in-discourse-forum-with-sso/55759)

<div class="topic-metadata">

**Author:** [@Rojoss](https://meta.discourse.org/u/Rojoss)\
**回覆:** 20\
**Last updated:** [2017年三月1日 23:41 UTC](https://meta.discourse.org/t/security-breach-in-discourse-forum-with-sso/55759 "2017-03-01T23:41:39Z")

</div>

你好，我们最近使用SSO建立了一个Discourse论坛。现在有用户声称自己是黑客，我相信他确实是真实的。他给我看了用户数据库的截图，内容与Disc…

---

## [SSO and Restricted Groups](https://meta.discourse.org/t/sso-and-restricted-groups/58098)

<div class="topic-metadata">

**Author:** [@Thor\_Mitchell](https://meta.discourse.org/u/Thor_Mitchell)\
**回覆:** 2\
**Last updated:** [2017年三月1日 13:34 UTC](https://meta.discourse.org/t/sso-and-restricted-groups/58098 "2017-03-01T13:34:21Z")

</div>

Apologies in advance if these questions and been covered before, and I failed to find the answers when searching. We’re looking to build a community amongst the users of our product using the Hosted Discourse offering. …

---

## [Accessing Facebook account specific details for Discourse user](https://meta.discourse.org/t/accessing-facebook-account-specific-details-for-discourse-user/50074)

<div class="topic-metadata">

**Author:** [@chitale\_prasad](https://meta.discourse.org/u/chitale_prasad)\
**回覆:** 6\
**Last updated:** [2017年二月22日 18:56 UTC](https://meta.discourse.org/t/accessing-facebook-account-specific-details-for-discourse-user/50074 "2017-02-22T18:56:37Z")

</div>

I have configured Facebook and Google for SSO. My users are able to login to discourse using her Facebook or Google account. I will now like to access Facebook/Google account details of the created discourse user such as…

---

## [Options with SSO with another custom application](https://meta.discourse.org/t/options-with-sso-with-another-custom-application/57617)

<div class="topic-metadata">

**Author:** [@rubydoob](https://meta.discourse.org/u/rubydoob)\
**回覆:** 1\
**Last updated:** [2017年二月19日 15:06 UTC](https://meta.discourse.org/t/options-with-sso-with-another-custom-application/57617 "2017-02-19T15:06:26Z")

</div>

Say I have a custom rails app on a domain like www.example.com and my discourse install at forums.example.com When users create accounts on my custom application and login, what options do I have to auto-create a discou…

---

## [Url to pass back after SSO to redirect back to previous url/topic](https://meta.discourse.org/t/url-to-pass-back-after-sso-to-redirect-back-to-previous-url-topic/56633)

<div class="topic-metadata">

**Author:** [@aedensixty](https://meta.discourse.org/u/aedensixty)\
**回覆:** 0\
**Last updated:** [2017年一月31日 04:50 UTC](https://meta.discourse.org/t/url-to-pass-back-after-sso-to-redirect-back-to-previous-url-topic/56633 "2017-01-31T04:50:39Z")

</div>

I am using a custom SSO login through a node endpoint. It all works well and logs the user into discourse through ‘/auth/ssologin’ and then ‘/session/sso\_login’ page. Can I pass a parameter directly to ‘/session/sso\_lo…

---

## [SSO avatars not being overridden](https://meta.discourse.org/t/sso-avatars-not-being-overridden/54607)

<div class="topic-metadata">

**Author:** [@windy](https://meta.discourse.org/u/windy)\
**回覆:** 15\
**Last updated:** [2017年一月20日 21:23 UTC](https://meta.discourse.org/t/sso-avatars-not-being-overridden/54607 "2017-01-20T21:23:36Z")

</div>

I know there are a few other posts about this, but none of them were able to solve my problem. Everything else in our SSO implementation works fine; this is the only thing that’s not working as expected. I’ve tried setti…

---

## [Discourse-saml: There was an error authorizing your account](https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469)

<div class="topic-metadata">

**Author:** [@skoota](https://meta.discourse.org/u/skoota)\
**回覆:** 11\
**Last updated:** [2016年十二月21日 03:27 UTC](https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469 "2016-12-21T03:27:23Z")

</div>

Hi All, So, following on from my post yesterday I have installed the discourse-saml plugin. Our iDP has setup everything on their end, but whenever we attempt to login the following message appears: Sorry, there was a…

---

## [Discourse as an SAML, OAUTH IDP?](https://meta.discourse.org/t/discourse-as-an-saml-oauth-idp/29898)

<div class="topic-metadata">

**Author:** [@Breaker](https://meta.discourse.org/u/Breaker)\
**回覆:** 1\
**Last updated:** [2016年十一月7日 00:17 UTC](https://meta.discourse.org/t/discourse-as-an-saml-oauth-idp/29898 "2016-11-07T00:17:49Z")

</div>

I was wondering if anyone knows of a way to have discourse act as an IDP (identity Provider) using SAML or OAUTH2. im thinking about setting up a network of sites and would like for the forums to be the central spot for…

---

## [Locale change for Facebook login](https://meta.discourse.org/t/locale-change-for-facebook-login/52438)

<div class="topic-metadata">

**Author:** [@Jyothi\_Chaluvaiah](https://meta.discourse.org/u/Jyothi_Chaluvaiah)\
**回覆:** 1\
**Last updated:** [2016年十一月3日 14:28 UTC](https://meta.discourse.org/t/locale-change-for-facebook-login/52438 "2016-11-03T14:28:10Z")

</div>

Is there a way to change the locale of the Facebook js sdk used in the head tag. I want to load Facebook login popup in Japanese. I guess we can do it by loading the Facebook js sdk with a locale ja\_JP rather than en\_…

---

## [Password verification via REST API](https://meta.discourse.org/t/password-verification-via-rest-api/51409)

<div class="topic-metadata">

**Author:** [@windy](https://meta.discourse.org/u/windy)\
**回覆:** 1\
**Last updated:** [2016年十月11日 21:18 UTC](https://meta.discourse.org/t/password-verification-via-rest-api/51409 "2016-10-11T21:18:13Z")

</div>

Hello I have a question regarding the REST API. I currently have a web service that shares account information with our Discourse instance using SSO. Everything works gorgeously and the user is able to authenticate with …

---

## [Facebook SSO Restricted Domain](https://meta.discourse.org/t/facebook-sso-restricted-domain/49125)

<div class="topic-metadata">

**Author:** [@Richard\_Mohorovich](https://meta.discourse.org/u/Richard_Mohorovich)\
**回覆:** 5\
**Last updated:** [2016年八月25日 01:58 UTC](https://meta.discourse.org/t/facebook-sso-restricted-domain/49125 "2016-08-25T01:58:47Z")

</div>

Hello, For me to be able to join a first year university facebook group I had to have a verified email with the university domain. Is there a way to do Facebook SSO such that only facebook users with a verified email o…

---

## [SSO won't create user as admin or suppress welcome message](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711)

<div class="topic-metadata">

**Author:** [@mb450](https://meta.discourse.org/u/mb450)\
**回覆:** 2\
**Last updated:** [2016年八月16日 19:39 UTC](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711 "2016-08-16T19:39:59Z")

</div>

Hi, New to discourse and having a problem with SSO. Before signing my payload looks like this. “nonce=d09ba51dbc2094e47f5b8e85d5612520&external\_id=539692721&email=admin%blah.uk&name=Tadmin&avatar\_force\_update=1&admin=…

---

## [Creating Auto login from android app to discourse](https://meta.discourse.org/t/creating-auto-login-from-android-app-to-discourse/40154)

<div class="topic-metadata">

**Author:** [@chitale\_prasad](https://meta.discourse.org/u/chitale_prasad)\
**回覆:** 4\
**Last updated:** [2016年八月16日 10:08 UTC](https://meta.discourse.org/t/creating-auto-login-from-android-app-to-discourse/40154 "2016-08-16T10:08:01Z")

</div>

Hi! I have an android app. Inside android app I have called my Discourse forum using Web browser activity. My users need to login again in Discourse due to this. Is their any way by which I can auto login them if discou…

---

## [External SSO provider login link](https://meta.discourse.org/t/external-sso-provider-login-link/48392)

<div class="topic-metadata">

**Author:** [@Dominic\_Hargreaves](https://meta.discourse.org/u/Dominic_Hargreaves)\
**回覆:** 5\
**Last updated:** [2016年八月16日 02:09 UTC](https://meta.discourse.org/t/external-sso-provider-login-link/48392 "2016-08-16T02:09:50Z")

</div>

In order to improve the user experience when moving between our main site and discourse, we are considering detecting how the user has logged into our main site and customizing the link to the community site to initiate …

---

## [SSO for College Account](https://meta.discourse.org/t/sso-for-college-account/48087)

<div class="topic-metadata">

**Author:** [@Richard\_Mohorovich](https://meta.discourse.org/u/Richard_Mohorovich)\
**回覆:** 6\
**Last updated:** [2016年八月8日 03:21 UTC](https://meta.discourse.org/t/sso-for-college-account/48087 "2016-08-08T03:21:33Z")

</div>

Hello, Still waiting for reply on setting this up for forum from school. SSO for students using their student account. SSO help page for School Would any be able to provide insight on how to do this? I’ve seen a threa…

---

## [SSO on Discourse using Atlassian Crowd](https://meta.discourse.org/t/sso-on-discourse-using-atlassian-crowd/47653)

<div class="topic-metadata">

**Author:** [@eokolo](https://meta.discourse.org/u/eokolo)\
**回覆:** 5\
**Last updated:** [2016年七月26日 12:28 UTC](https://meta.discourse.org/t/sso-on-discourse-using-atlassian-crowd/47653 "2016-07-26T12:28:54Z")

</div>

Hello, We’re trying to enable SSO on Discourse using Crowd. We entered the SSO URL (crowd URL) and Application password (we set up the application connection on the Crowd server). However, after enabling SSO in Discours…

---

## [Discourse SSO in Nginx](https://meta.discourse.org/t/discourse-sso-in-nginx/47783)

<div class="topic-metadata">

**Author:** [@Falco](https://meta.discourse.org/u/Falco)\
**回覆:** 0\
**Last updated:** [2016年七月25日 19:39 UTC](https://meta.discourse.org/t/discourse-sso-in-nginx/47783 "2016-07-25T19:39:12Z")

</div>

If you are using Nginx (or the awesome OpenResty) to handle you user authentication, you can handle the Discourse SSO on the Nginx too! This assumes you are using the ideas on this article to handle authentication: T…

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

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