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

Command icon 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

mikegodin created an issue. See original summary.

mikegodin’s picture

The MR 191, when tested locally, passed all PHP Unit tests and all Upgrade Status tests with no deprecation warnings.

mikegodin’s picture

Noting that the "PHP 7.4 & MySQL 5.7, D10.1.4 Composer require failure" is expected since Drupal 10 requires PHP 8.1.

mikegodin’s picture

Status: Active » Needs review
mikegodin’s picture

If it is necessary to install this fork via composer before it gets merged, edit composer.json, replacing:

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }

with

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8",
            "exclude": [
                "drupal/openid_connect"
            ]
        },
        {
            "type": "git",
            "url": "https://git.drupalcode.org/issue/openid_connect-3393666.git"
        }

Then require via composer:

composer require 'drupal/openid_connect:dev-3393666-drupal-10-compatibility' --with-all-dependencies

Harlor made their first commit to this issue’s fork.

harlor’s picture

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

harlor’s picture

Status: Needs review » Reviewed & tested by the community
Related issues: +#3391127: New release for 3.x

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

harlor’s picture

sanduhrs’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks!

Status: Fixed » Closed (fixed)

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