I'm running a Magento store and also have another site that is based on Django that also needs an authentication.

Magento is currently authenticated against its own internal user base.

Is it possible to have Django authenticate against Magento's user base?


1 Answer 1


While I'm not familiar with Django, I would assume that extending the Magento API to authenticate users would be possible, provided you're within the same domain or subdomain or have defined a cross-origin policy.

Some AJAX login extensions may provide this sort of functionality for you - here's one such extension:


There are a number of plugins available that provide single-sign-on with other platforms: Wordpress, SugarCRM, others. Perhaps looking into the source of those integrations would help you.

Some integrations:



A how-to series:


Additionally, Magento's API provides the ability to fetch customers from the framework:


Lastly, consider using a single-sign-on solution with one of the major providers - OpenID, Google, Facebook, Twitter - all of which have Magento plugins available for user authentication. Then source something that provides this functionality in your Django app.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.