I need to create a user account using social network via the API.
I have created via native iOS application
that hooks into magento 2 store API. However, I can not find a way to create an account using any of social extensions.
They add buttons however they do not expose any functionality over rest API for creating accounts or login.
Best Answer
1) First Create webapi.xml declare url, interface and method
2) create di.xml for dependency injection
3) create social login interface SocialLoginCustomerInterface.php
4) create SocialLoginCustomer.php for logic
5) create table social_login fields are
id
,customer_id
,type
,social_id
,created_at