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 にログインしている人は、すでに ID プロバイダーで登録している必要があります)。

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 に関する具体的な情報はありません。\n\n簡単な Google 検索でも、おっしゃる通り 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 を実装することは不可能だということです。