Thinkific to Shopify SSO

Silax
Tourist
7 0 4

We sell online courses and currently, we are using 2 platforms:

Shopify (sell)
Thinkific (upload courses)

We able to automatically sync the courses from Shopify to Thinkific as long as they use the same email address on both platforms.

We hope to allow people to purchase from our store WITHOUT having to create an account on Shopify and only create an account on Thinkific. 

Current workflow:

(New User "John")
1. Lands on Shopify www.site.com
2. Buys Course A using "john@test.com"
3. Receives THINKIFIC Welcome email asking to register an account
4. Logs into courses.site.com with "username: john@test.com pass: 123456"
5. Watches the first chapter of Course A on their dashboard.
-END-

John comes back to watch the second chapter
1. Lands on Shopify www.site.com
2. Tries to login
-ERROR: No account on Shopify-

We can change the login URL to course.site.com but we also want to allow the users to track their past orders within Shopify and also accumulate membership points.

What we hope to achieve:

(New User "John")
1. Lands on Shopify www.site.com
2. Buys Course A using "john@test.com"
3. Receives SHOPIFY Welcome email asking to register an account
4. Logs into www.site.com with (username: "john@test.com" pass: "123456")
5. See all past orders
6. Click "My dashboard"
7. Automatically logs into courses.site.com (same email)
5. Watches the first chapter of Course A on their dashboard.
-END-

John comes back to watch the second chapter
1. Lands on Shopify www.site.com
2. Login using (username: "john@test.com" pass: "123456")
3. See past orders and points accumulated.
4. Clicks "My dashboard"
5. Continue to watch Course A

Documentation for Thinkific SSO: https://developers.thinkific.com/more/sso/

Thinkific requires a JWT token with only the following requirements:

  • email (required) - the email of the authenticated user. If external_id is not supplied, email will be used as the unique identifier.
  • first_name (required)- the first name of the authenticated user.
  • last_name (required)- the last name of the authenticated user.
  • iat (required) - must be the number of seconds since UNIX epoch. This is essentially the time that the JWT payload was issued.

My question is how do I extract these requirements from Shopify and send it to Thinkific?

Thanks in advance.


Shahram_Soft
New Member
3 0 0

hi, i wanted to do the same any news about how to do it? did you find any way to do it?

0 Likes