# 将我们的社区仅限于 Shopify 网站会员吗？

**URL:** <https://meta.discourse.org/t/gate-our-community-to-just-members-of-our-shopify-site/283036>\
**Category:** Development\
**Created:** [2023年十月22日 20:34 UTC](https://meta.discourse.org/t/gate-our-community-to-just-members-of-our-shopify-site/283036 "2023-10-22T20:34:21Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023年十月30日 18:35 UTC](https://meta.discourse.org/t/gate-our-community-to-just-members-of-our-shopify-site/283036/12 "2023-10-30T18:35:20Z")

</div>

还有：

> **[Store as IDP‑SSO Login to Apps - How to use Shopify as an IDP for single...](https://apps.shopify.com/login-sso-using-store-as-idp)**
>
> For Shopify users, miniOrange offers Shopify as an IDP integration, now it is possible to do a single sign-on (SSO) with Shopify.

它将 Shopify 商店配置为 OAuth2 身份提供商。在 Discourse 端，您需要使用 Shopify 应用提供的凭据配置 [OAuth2 Basic 插件](https://meta.discourse.org/t/discourse-oauth2-basic/33879)。这是一个相当昂贵的应用（每年 2500 个独立用户收费 2,689 美元）。

如果您确定只想让用户通过 Shopify 登录您的 Discourse 网站，那么一个使用 [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 而不是 OAuth2 的 Shopify 应用可能是个好选择。[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 的限制在于，启用后它将成为 Discourse 网站唯一可用的登录方法，因此您不能让一些用户通过 [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 登录，而另一些用户使用用户名/密码登录。

为了完整起见，还有这个：[Single sign on with Shopify Multipass - #17 by angus](https://meta.discourse.org/t/single-sign-on-with-shopify-multipass/100636/17?u=simon%E3%80%82%E4%BD%86%E8%AF%B7%E6%B3%A8%E6%84%8F) Github 仓库自述文件中的警告：[https://github.com/paviliondev/auth0-shopify-discourse。](https://github.com/paviliondev/auth0-shopify-discourse%E3%80%82)

---

_[View the full topic](https://meta.discourse.org/t/gate-our-community-to-just-members-of-our-shopify-site/283036)._
