Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

mstindia commented on Anyway I can find out customer ID of logged in customer on app proxy

$
0
0

Hi Chris,

Thanks for your attention.

I understand we can not get session of shopify. We just need customers ID of logged in user.

Just like ‘shop’ parameter we get on proxy page. May be you can send customer id as well. Or, we can make an API call from the app to find out customer id of logged in user.

For apps like wishlist, app need customer ID. The ways we now has,
1] Append customer id to URL
2] Hide it in a form and make the form post using JavaScript
3] Use JavaScript session and page re-direct.

All the ways are not strait forward and not that secure also.

I think app developers will make use of a ‘customer ID’ send to app proxys to make better integrated apps than using these workarounds. Which I think is too much of code and complexity.

Thanks!


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>