Magento 2 plugin or script for external login

進行中 投稿 2ヶ月前 着払い
進行中 着払い

$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.

Magento PHP

プロジェクトID: #37879048

プロジェクトについて

14個の提案 リモートプロジェクト アクティブ 2ヶ月前

アワード:

nhquyen1990

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: もっと

€30 EUR 1日以内
(13レビュー)
5.0

14人のフリーランサーが、平均€52 で、この仕事に入札しています。

ambientinfotech

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 もっと

€30 EUR 1日以内
(398件のレビュー)
7.8
rajveerdeveloper

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. もっと

€100 EUR 7日以内
(92件のレビュー)
7.2
ShartraTech

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 もっと

€70 EUR 1日以内
(80件のレビュー)
6.5
amolbhoyate

=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 もっと

€100 EUR 7日以内
(15件のレビュー)
5.7
shubhamkhera144

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 もっと

€30 EUR 7日以内
(4件のレビュー)
2.9
ajeshjanardanan

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 もっと

€30 EUR 5日以内
(レビュー1件)
2.0
coolman0801

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..

€30 EUR 7日以内
(0件のレビュー)
0.0
harrsh123

Magento platform, including its architecture, development best practices, and customization capabilities. I am proficient in developing, maintaining, and optimizing Magento-based eCommerce websites, with expertise in P もっと

€45 EUR 7日以内
(0件のレビュー)
0.0
nghosh11

To achieve your requirements, you'll need to create a custom plugin for Magento that handles the login functionality and also provides an installation script for remote installation. Create a custom Magento module tha もっと

€120 EUR 7日以内
(0件のレビュー)
0.0