How the architecture should be for a Java command line app integrating with shopify -
in company have custom point of sale built in house, , assigned integrate pos shopify. mvp, have decided go simple java app, run command line. have done following
1) went www.shopify.com/app-developers
, got private store bla.myshopify.com
.
2) went apps -> private apps. got api key, password , shared secret.
have mentioned, doing simple java app can run command line. app read keys local file. now should doing oauth? have mentioned redirect web page in here https://docs.shopify.com/api/authentication/oauth
. since have don't have webpage, should redirect user to?
, there wrong doing? kindly correct me if there better architecture
basic authentication works shopify: whatever package using http connection should have tools let set authorization header. pre-emptive authorization package , use api key:password (from private app) base 64 encrypted credential token
Comments
Post a Comment