Magento 2 plugin or script for external login
€8-30 EUR
着払い
$objectManager = GetManager(); // this is my function
$customer = getCustomer($email); // this is my function
if (is_null($customer))
{
echo "ERROR : User not exists<br>";
return ;
}
$userid = $customer->getId();
if ($userid >= 1)
{
$Result = authenticate($customer, $password); // this is my function
if ($Result)
{
$customerSession = $objectManager->create('\Magento\Customer\Model\Session');
$customerSession->loginById($userid);
$cacheManager = $objectManager->get('\Magento\Framework\App\Cache\Manager');
$cacheManager->flush($cacheManager->getAvailableTypes());
if ($customerSession->isLoggedIn())
echo "MSG : User correctly logged in<br>";
else echo "ERROR : User not logged in<br>";
}
else echo "ERROR : User not logged in<br>";
}
This code for Magento 2 allows login in the frontend but only works with Magento 2.3.3.
I want to create a plugin that allows login on all versions of Magento from 2.3.x or higher.
This plugin must receive username, password and a URL as parameters via a Get or Post call and log the user into the frontend.
If url is not empty, redirect to the indicated url.
Login must be possible with a call like this:
[login to view URL]***/login/?username=******&password=*******&url=https://www........ or a post with curl
If the login was successful and the url parameter is not empty then the user must be redirected to the page indicated by url.
Furthermore, a php script must be added that allows the plugin to be installed remotely.
Installation must be possible with a call like this:
[login to view URL]***/[login to view URL]
A zip file is copied into the device/version***/ folder and possibly decompressed.
This script must make all calls to composer ... to perform the installation.
I want the plugin installation to be automatic.
This plugin must not be published on Adobe/Magento store. User can download for free from our web site.
This project enable our CMS to wrap Magento 2 store in mobile app.
プロジェクトID: #37879048
プロジェクトについて
アワード:
Hi I am developer magento 2 at [login to view URL] with 10 years of experience I have a lot of experience in developing magento 2 e-commerce website I have made this ecommerce site : [login to view URL] [login to view URL] https: もっと
14人のフリーランサーが、平均€52 で、この仕事に入札しています。
Dear Client, I have analyse your job details.I am expert self-motivated and hardworking Magento developer having 8+ year experienced for both versions: 1.9 & 2.0. > Magento: 1.9 to 2.0. X > Commerce portal > Cus もっと
Hello, ★★★★★ 10+ Year's Experience PHP Expert ★★★★★ As a preferred freelancer, I can help you to your project., after thoroughly analyzing this job I can assure you that your requirements match my area of expertise. もっと
HI I will fixed your plugin issue that you shared kindly share me login details via chat box I am a Top-Notch magento web developer, coding with Woocomerce PHP, HTML, CSS, and JavaScript, MySQL. Proficiency in custo もっと
=Magento Certified developer= Hi, I am 12 years experienced Magento Certified developer available for Magento 2 plugin. Also– -5000+ hours worked -100+ Magento eCommerce Website Completed Successfully. - Ma もっと
With a proficiency in MySQL and a strong background in web development, I am confident that I can effectively create a custom Magento 2 plugin for you. In particular, your need for compatibility across various Magento もっと
Hi Manuel S., How are you doing? As a professional developer with expertise in PHP, Magento and MySQL, I eagerly anticipate the opportunity to complete this project for you. Please drop me a message to discuss the proj もっと
Hi there, Hope you are doing great! I am a professional php expert and I can quickly fix your problem in 30 min.. ready to start and look forward to work with you..