I'm writing a web service for communication between a mobile device and magento, i'm using SOAP webservices which Magento provides, however, i'm lost at User Authentication, i need to authenticate my system user (not api user). Is there any clue over this?
You cannot use SOAP Api for logging an user account in magento as it does not support that feature, you have to approach it in another way, maybe overriding controller file in Mage Customer named AccountController.php.
Try to add a new method which can communicate with server with JSON variable.
You can use REST api to authenticate customer. http://www.magentocommerce.com/api/rest/introduction.html
This approach seems to be more convenient, since you may receive a products list with applied catalog rules for logged in customer (let's say applied by customer group). SOAP API does not provide such feature (you can only receive products list as admin user).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With