cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication returning false when i pass username and password in my extension. magento2.3

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Authentication returning false when i pass username and password in my extension. magento2.3

Hello magento lovers,

 

I have extension where we pass username and password and fetch data in xml format it was working fine till magento 2.2

In earlier edition Magento 2.3 it returning false .

 

       $storageInterface = $this->_objectManager->get(
            '\Magento\Backend\Model\Auth\Credential\StorageInterface'
        );

       $userAuthentication = $storageInterface->authenticate(
            $Username,
            $Password
        ); // this returning false with appropriate credential

this is index.php in my extension can anyone help me here.

Thank you