Problem/Motivation

Testing auth connection generates log errors.

Deprecated function: Creation of dynamic property Drupal\azure_oauth_sso\Service\OAuthTokenService::$configFactory is deprecated in Drupal\azure_oauth_sso\Service\OAuthTokenService->__construct() (line 39 of /mnt/www/html/hudoigd8dev/docroot/modules/contrib/azure_oauth_sso/src/Service/OAuthTokenService.php)

Steps to reproduce

After registering the server app with the azure authentication end point. Running a test authentication appears to be successful?!? Unsure how to vet is actually connected and authorized.

Proposed resolution

Determine if there is a new inherited class which would accomplish the core functionality used to managing the config factory that is supported with PHP 8.2 and 8.3 as well as Drupal 10 and Drupal 11 core codebase.

CommentFileSizeAuthor
#3 azure_oauth_sso-3467892.patch743 bytessarwan_verma

Comments

emptyvoid created an issue. See original summary.

sarwan_verma’s picture

Status: Active » Needs review

Hi,

I have resolved the 'Triggers depreciation errors,' created a patch, and also attached the patch .
Please review it.

Thanks!

sarwan_verma’s picture

StatusFileSize
new743 bytes
mahdiwadi’s picture

I've fixed the patch and successfully applied it. The issues have been resolved.

mahdiwadi’s picture

Status: Needs review » Fixed
mahdiwadi’s picture

Status: Fixed » Closed (fixed)
mahdiwadi’s picture

mahdiwadi’s picture

mahdiwadi’s picture

mahdiwadi’s picture

mahdiwadi’s picture

I've fixed the patch, applied it successfully, and resolved the issues. Thanks for your support!

ahmadhalah’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.