Shopify + Discourse:账户连接

Hi everyone. I have a question related to Shopify and Discourse We’re developing a new shopify website for our products and we want to incorporate a forum to provide support for customers as well as a discussion platform. Our product manager is concerned that although there is oAuth2 connections between Discourse and Shopify, it seems that if a user creates an account on the discourse end, that it doesn’t allow them user to purchase items on shopify seamlessly, meaning they’ll have to re-register when prompted.

Does anyone have any direct experience in this? I’m not a developer - more on the marketing side, but it’s frustrating as our developers say it isn’t possible, but guides online say it is. Any help would be highly appreciated!

Thanks in advance!

Discourse 中有一个站点设置,允许你禁用本地登录/注册系统,并强制用户使用 OAuth2。我认为这应该能解决你的问题(任何登录到 Discourse 的用户必须已在身份提供商处注册)。

Hi David.

Thanks for your reply. How about this situation then;

A user visits the website - they’re not registered. They check out the forum, and want to ask a question - so they register there. After that, they come back to the website a few days later to buy a product. Would that original registration with OAuth2, connect with Shopify, meaning they could then purchase products without making a new account?

That would work, right?

Thanks for your help!

如果您禁用了本地登录/注册功能,这种情况将无法实现。注册必须始终在身份提供商处完成(但会提供一个来自 Discourse 的链接)。采用这种方法,身份提供商负责所有用户数据,您无需担心任何同步问题。

Right, I’m with you. I think that clears that up.

Thanks again

@david I think Shopify doesn’t allow customer logins via oAuth I’ve spent quite some time figuring this out and made up that their oAuth only allows shop owners to log into 3rd party applications. I can be wrong but would really appreciate if you could point me to right documentation (if you’re aware of any) that guides the process to allow oAuth for customers.

哦,您可能是对的——我没有关于 Shopify 的具体信息。

快速搜索一下似乎证实了您所说的:OAuth 仅适用于店铺所有者。@Dane2,您可能需要确认这是否会影响您的计划。如果您有办法为客户使用 OAuth,那将非常有用!

Okay David. We’re looking into it with our backend team; hopefully we’ll find a solution. Thanks for the help

你找到解决办法了吗?

我弄明白的是,无法为 Shopify 客户实施 OAuth。