[OAuth]missing session query parameter

Solved
Highlighted
Shopify Partner
4 0 0

I'm new to develop a Shopify app, I have a question described below, thank for the helper.

I  have a development app, and a development store, and the app has already installed in the store. When i click my app in store's admin, Shopify call the redirect_uri like this

https://5de1ce00.ngrok.io/oauth/shopify?hmac=13118450c9983d4a55782c85155f2ffff8fd6d586097001e40d3788b3bebe04a&locale=zh-CN&shop=painterest-test.myshopify.com&timestamp=1581324985

but when i click Printify or Printful, Shopify call the redirect_uri like this

ttps://dashboard.printful.com/dashboard/sync?hmac=7381a2e465b78144587a96d4ed6f3f645e2df2f1dc6a6c6e6bf293cf4f7a732e&locale=zh-CN&session=2de8264b7bb279374b3f3b6d7603f0d09cd6ff80431f3ed67746d65d1307af98&shop=xn-q6qv5gpyk54ibqhir3c.myshopify.com&timestamp=1581516192

The difference is Printful redirect_uri has a session query parameter.

How can i have this session query parameter, and what can i do with this session query parameter.

0 Likes

Success.

Shopify Staff
Shopify Staff
634 84 89

Hey @wisheslee,

 

The request parameters could be subject to change, and session isn't useful - you can obtain the user from the shop param (be sure to verify the request first)

0 Likes
Highlighted
Shopify Partner
4 0 0

thank your for you reply. I understand now.

0 Likes