External library update

Created on 8 March 2019, over 5 years ago
Updated 17 August 2023, over 1 year ago

The module includes the third party library oauth2-server-php from bshaffer [1].
The maximum release number that can be used atm is 1.8.0 but the latest release is 1.11.1.

The goal of this issue is to be able to use the latest release.

[1] https://github.com/bshaffer/oauth2-server-php

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany sanduhrs πŸ‡ͺπŸ‡Ί Heidelberg, Germany, Europe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°Slovakia sano

    After upgrading to php 8 the module stopped working (see the issue I mistakenly created πŸ› Type Error: count(): Argument #1 ($value) must be of type Countable|array, null given Active ), so I tried to use the most recent version of the library (version 1.14.1). When logging in, I saw an error about incompatibility between the setAuthorizationCode function declared in the library (1. below) and a function of the same name declared in the Storage.php of the module (2. below).

    1. setAuthorizationCode($code, $client_id, $user_id, $redirect_uri, $expires, $scope = null, $id_token = null, $code_challenge = null, $code_challenge_method = null)

    2. setAuthorizationCode($code, $client_key, $uid, $redirect_uri, $expires, $scope = null, $id_token = null)

    After adding the missing parameters into the function declared in the Storage.php of this module I was able to authenticate.

  • Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 8
    last update over 1 year ago
    Waiting for branch to pass
  • @sano opened merge request.
  • Open on Drupal.org β†’
    Core: 7.x + Environment: PHP 7.2 & MySQL 5.5
    last update over 1 year ago
    Not currently mergeable.
  • @sano opened merge request.
Production build 0.71.5 2024