Login with third party api in shopify

I have a webapp there I have login system. In shopify I want to add a login feature that will be synced with that third party site. What will be the process to do that? In webapp I have token based system.