Problem/Motivation
Some users have working code that is compatible with OpenID Connect / OAuth client 8.x-1.2, and have a November 1, 2023 deadline for upgrading their systems to Drupal 10.
Steps to reproduce
Proposed resolution
Provide a Drupal-10 compatible version of OpenID Connect / OAuth client 8.1-1.x.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork openid_connect-3393666
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mikegodin commentedThe MR 191, when tested locally, passed all PHP Unit tests and all Upgrade Status tests with no deprecation warnings.
Comment #4
mikegodin commentedNoting that the "PHP 7.4 & MySQL 5.7, D10.1.4 Composer require failure" is expected since Drupal 10 requires PHP 8.1.
Comment #5
mikegodin commentedComment #6
mikegodin commentedIf it is necessary to install this fork via composer before it gets merged, edit
composer.json, replacing:with
Then require via composer:
composer require 'drupal/openid_connect:dev-3393666-drupal-10-compatibility' --with-all-dependenciesComment #8
harlor commented@mikegodin, THX for your help!
I asked one of the maintainers (sanduhrs) about this issue and we decided to bring back the deprecation annotations because these functions are not static in 2.x and 3.x.
I also moved the helper method from the tests to a trait so we don't need to duplicate it.
Comment #9
harlor commentedI manually tested these changes with a Drupal 10. And it seemed to work just fine!
Even though I made the last changes to the MR I set this to RTBC - my changes where purely cosmetic and coordinated with sanduhrs.
Comment #10
harlor commentedComment #12
sanduhrsMerged, thanks!