Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify authentication from custom server

Shopify authentication from custom server

SimInnovations
Visitor
1 0 0

Hi,

 

 

We have a webservice, that can provide certain resources when a user has bought them in our Wordpress based store.

All communication from the end user is done through this webservice. During authentication, the webservice passes on the user credentials to Wordpress, which will authenticate using a php function, and provide customer_id when successful.

https://developer.wordpress.org/reference/functions/wp_authenticate/

 

I would like to implement this strategy for a shopify account. But from what I have read in the docs, it seems that authentication is only allowed by the end user itself (OAuth), but not between a custom server and shopify.

There is probably a good reason for it 🙂

 

Am I right in this summary, or am I missing some shopify API somewhere? Basically I'm looking for something like the wp_authenticate above.

 

 

Thanks in advance,

 

Corjan

Replies 0 (0)