How can I authenticate a Shopify customer for a custom app?

Hey all,

I am building a custom App which will create an order by external trigger from 3rd party software. The App needs to link already known 3rd party software account and shopify customer. I tried to use Shopify OAuth flow but it works with shop owner and admins only. Could you share an idea of how to do it?