Shopify Integration

AI-generated summary

The discussion revolves around integrating Shopify with Discourse. Shopify Integration with Discourse is not straightforward due to Shopify’s limited OAuth support for customer accounts.

viet and others are interested in allowing users to log in to their Discourse forum using their Shopify account. sam suggests using the existing OAuth2 plugin, but david notes that Shopify’s OAuth2 is only for shop owners, not end-users.

awesomerobot provides a general overview of the process to integrate Discourse with Shopify, which involves setting up a Discourse site, configuring DNS, and optionally installing an OAuth2 plugin. However, cloudunicorn and others have experienced difficulties in getting OAuth to work due to Shopify’s limitations.

Alternative solutions discussed include using webhooks, Zapier, or creating a custom plugin. Neeraj_Saini suggests pooling resources to create a plugin, but no update has been provided.

Additionally, users have shared their experiences with displaying Discourse on Shopify, including using the Discoursify app (intelliua) and configuring DNS settings (Max_Max).

Discourse has intergration with many social login methods already, and it’s very nice.

Can it intergrates with e-commerce platforms like Shopify so users of an existing e-commerce community can login via the same account everywhere for that company?

Example: http://forums.envato.com uses the same login everywhere throughout their site.

1개의 좋아요

Shopify supports oauth2 GitHub - Shopify/omniauth-shopify-oauth2: Shopify OAuth2 Strategy for OmniAuth 1.0 · GitHub it is possible you could simply use our existing oauth2 plugin for it. Otherwise someone could build a plugin for it.

Edit by @david, Oct 2020: Shopify oauth2 is for shop owners only, not end-users.

6개의 좋아요

Thanks, where can I find existing oauth2 plugin for Discourse? I’m new and recently just bought Discourse standard plan.

And does oauth2 plugin for discourse supported on Hosted Discourse version, standard plan?

I guess this one Discourse OAuth2 Basic

2개의 좋아요

For our hosting, OAuth 2 is only supported on the business plan and higher.

1개의 좋아요

Ah I see. I’d love to upgrade to it if I know for sure it works with Shopify user accounts. Can you let me know please? i’m not familiar with OAuth2 documentation.

How could i integrate my email service with discourse. Currently i have created a shopify store for dropshipping purpose and i write those steps as a article. So i need to know about email integration which i will also add in article. i will also share article that i have written. After 6 days no one response me you can see withintheflow.com where my friend write too many education content for drop-shipping and their platform so if you are willing then please let me know.

I’m not aware of any existing plugins that have the functionality you are looking for, but Discourse has several options for interfacing with other apps like MailChimp, ConvertKit, or Shopify. You could use webhooks, the api, and/or the data explorer to gather the email addresses you are looking for and send them to your email service. Also a custom plugin could also be created.

2개의 좋아요

Hey guys, I was wondering if there were any articles showing how to add discourse to my Shopify store. (forum.mystore.com)

Any pointers would be awesome!

There really isn’t a concept of “adding” Discourse to an existing site. You create a Discourse site, and then link to it from your existing site.

Here’s a rough overview of what that process would look like:

You’d set up a Discourse site in its own environment (hosted with us or self-hosted with Digital Ocean or any other compatible hosting service).

You’d then setup the DNS with your domain registrar so your forum can be accessed at forum.mystore.com

You can optionally install and configure an OAuth2 plugin so that your customers can log in to Discourse with their Shopify account.

Then it’s a matter of including a link to your forum from your store and including a link to your store from the forum — you can also optionally theme your Discourse site to match the design of your Shopify store too.

11개의 좋아요

Awesome, thank you so much Kris! Very helpful

1개의 좋아요

Hi @electricjared,

If you want to sell products in your Shopify store that can then be accessed in your Discourse site in private Categories, you could talk to @joebuhlig about building a technical integration between the two.

1개의 좋아요

Hey all, been trying to get OAuth working between Shopify and Discourse, and wondering if anyone’s done it successfully? We’re having a lot of trouble, as it seems Shopify doesn’t actually support OAuth for customer accounts.

You might have to use a webhook in the middle that gets the info from shopify and then does api calls to discourse.

But just a plugin that took a call from shopify might be easier.

1개의 좋아요

We’re fairly sure the webhook doesn’t exist (with customer/user info). We’re trying to avoid a fully custom plugin (we’re bootstrapped). :slight_smile:

1개의 좋아요

If you don’t want a plugin then you need something like Zapier in the middle.

If shopify cannot call a webhook when a user is created and /or added to a membership (which seems unlikely) then there is nothing you can do.

2개의 좋아요

두 환경에서 Shopify와 Discourse 로그인 자격 증명을 모두 정상적으로 작동하게 만들었나요?

1개의 좋아요

전혀 그렇지 않습니다. 우리가 파악한 바로는 Shopify의 인증 시스템은 이를 지원하지 않습니다.

Zapier는 시도하지 않았습니다. 대부분 진정한 인증 솔루션을 기대하고 있기 때문입니다. 주로 Shopify에 대해 매우 실망스럽습니다.

4개의 좋아요

아, 실망이네요! 저도 같은 걸 찾고 있었거든요. 이걸 동작하게 해줄 플러그인을 만들어 주실 분이 있다면, 몇 명 같이 비용을 모아서 해보는 건 어떨까요?

Discourse와 Shopify 간 SSO 관련해서 업데이트가 있나요?