External Authentication
Request Parameters:
For get the value of setting key
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/ExternalAuthentication
Parameter:
{
"apiSecretKey": "h101d110c117x115g115u108k108m113",
"storeId": "1",
"customerId": "1",
"languageId": "1",
"responseEmailAddress": "hardik.soneji@support.xcellence-it.com",
"responseFirstName": "hardik",
"responseLastName": "soneji",
"responseUserName": "hardiksoneji",
"authenticationParameter":
{
"ProviderSystemName": "ExternalAuth.Facebook",
"Email": "hardik.soneji@support.xcellence-it.com",
"ExternalIdentifier": "1453178781669014",
"ExternalDisplayIdentifier": "",
"OAuthToken": "",
"OAuthAccessToken": "1453178781669014"
}
}
Response:
{
"ExternalAuthenticationResult":
{
"Id": 0,
"Message": "User already registered",
"CustomerEmail": "brenda_lindgren@nopCommerce.com",
"CustomerId": 5,
"Errors": null,
"IsValid": false,
"Name": "Brenda Lindgren",
"ProviderSystemName": null,
"Username": "brenda_lindgren@nopCommerce.com"
}
}