Magento Forum

   
External Login API
 
Sanjap76
Jr. Member
 
Total Posts:  11
Joined:  2011-01-27
 

Please, How can i integrate the following API in magento customer login?

HTML POST: http://<SERVER_IP>/billing/api/login?u=username&p;=password

Response : OK

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<action>
<name>login</name>
<status>ok</status>
</action>

Response: Fail

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<action>
<name>login</name>
<status>failed</status>
</action>

 
Magento Community Magento Community
Magento Community
Magento Community
 
ziq2004
Member
 
Avatar
Total Posts:  71
Joined:  2008-06-05
 

It could be coded - what exactly you need to do?

Login a browser customer from external web? or to check if password - is it correct?

In case you need to autologin customer take a look http://www.mageext.com/autologin-for-magento/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sanjap76
Jr. Member
 
Total Posts:  11
Joined:  2011-01-27
 

i have an external application running on another server. this application has this login API which i want to integrate with magento.

So when a customer logs in to magento, i want to use this api to log them in to the external application as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ziq2004
Member
 
Avatar
Total Posts:  71
Joined:  2008-06-05
 

I understand smile

well you need to code it - the problem is that magento do not keep the plain password.
If you can use an hash you increase security and as well make it easyer smile

If you want to discuss futhure come to chat smile

Luca

 
Magento Community Magento Community
Magento Community
Magento Community
 
albertjooger
Jr. Member
 
Total Posts:  10
Joined:  2011-04-08
 

I think login in the web is the better option to avoid the spammer indide the web.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ziq2004
Member
 
Avatar
Total Posts:  71
Joined:  2008-06-05
 

what you mean? smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top