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

Username/Password-Style Very Legacy to Legacy to New OAuth by Aaron Wilson

$
0
0

Hey, I'm trying to switch our customers to new-style OAuth, and in the process I've discovered that we don't even use your legacy auth! When we store a session, we store a URL of the form https://long_token_a:long_token_b@example_shop.myshopify.com/admin. I'm noticing that long_token_a is unchanged over various auth urls, so I'm assuming that is some derived app key. Does that make long_token_b equivalent to the "legacy token" referred to, for example, in the Legacy to OAuth tutorial (http://docs.shopify.com/api/tutorials/legacy-to-oauth), or is there additional processing that needs to happen to turn it into that token (like, say, Base64-encoding 'long_token_a:long_token_b')?


Viewing all articles
Browse latest Browse all 25503

Trending Articles



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