cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Login from external website

Re: Custom Login from external website


@DanieleDelfini wrote:

But Session API is the opposite solution that I need for my problem because with the  Session API the customer before must perform a login at standard storefront and after is able to use API.

In my case, user will login with custom API via Token. And I would like my custom API create a Magento session automatically on the storefront.


No API needed to login into Magento store front. Simple post request from your external website can create session in Magento and login customer.

The magic in module code which open new magento session, validate email and password and login to the Magento storefront. 

https://flagon.digital/external-website-login-for-magento-2-126