问题
Does Shopify have a mechanism to supply a redirect URL on store owner login at https://shopify.com/login. Note, this is not customer login, but store owner.
Mailchimp provides this functionality with a redirect_uri query string parameter. In the example below, after logging in, Mailchimp will redirect the user to https://somesite.com:
https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=1234567890&redirect_uri=https%3A%2F%2Fsomesite.com
回答1:
It sounds a little confusing. First of all. You seem to be concerned about whether a customer at a Shopify store (someone with an account to buy stuff and checkout) is logged in? Why? What on earth does that have to do with your App?
If you are truly concerned about that, your Shopify App, installed in the Shopify store, can accept a secure callback with the logged in customer, and you can use the API to get their details.
So there cannot be an answer to your question in my opinion, because your use case seems really mixed up in your explanation. Perhaps you can draw some boxes, connect them with arrows, publish that somewhere public, and start a discussion from there.
来源:https://stackoverflow.com/questions/53212290/is-it-possible-to-provide-a-redirect-url-to-shopify-com-login