Steps to reproduce

Drupal 10.0.0 with rest enabled
composer require drupal/rest_api_authentication
drush en -y rest_api_authentication
Visit /admin/config/people/rest_api_authentication/auth_settings
Get "The website encountered an unexpected error. Please try again later."
Dblog message:
Error: Class "Drupal\rest_api_authentication\RequestForDemoForm" not found in Drupal\rest_api_authentication\Form\miniorangeAPIAuth->buildForm() (line 61 of /var/www/html/web/modules/contrib/rest_api_authentication/src/Form/miniorangeAPIAuth.php)

Comments

kopeboy created an issue. See original summary.

arsh244’s picture

@kopeboy, I have made some changes in the latest version of the module(version: 2.0.4) that should fix the error. Can you please test and let me know if the issue still persists

phonkala’s picture

I have same issue with version 2.0.4, the settings page can't be accessed via url and it's also not there in admin menu (config > people).

When I was enabling the module via Drush, I got this:

In ExtensionList.php line 522:

The module consumers does not exist.

However this module (rest api auth) still was enabled. Installing Consumers module separately doesn't help with the situation.

arsh244’s picture

Hi @phonkala, I have made some changes to fix the issue in the latest version of the module (version: 2.0.6). Can you please test the latest version of the module and let me know if the issue still persists?

purva_shende’s picture

Status: Active » Fixed
purva_shende’s picture

Status: Fixed » Closed (fixed)

This issue is resolved in module version 2.0.6 and later.