I am here developed a social login option and its working, but how can i create customer account after social login into shopify. i have tried some coding and its executing without error.
POST /admin/api/2021-04/customers.json may i get an idea on this,how to use this.
If you're doing this from the front end you'll be exposing the private app key data. This means any bad actor could take that key and extract all the customer info your shop has, or just opt to change or delete it. Please do not attempt to make calls to the Admin API that are not done in a safe and secure manner.
Create an app. Pass the details to the app. Let the app interact securely with the Admin API.
If you have this code live on the site at the moment you should immediately delete that key.