sanduhrs → credited dernetzjaeger → .
sanduhrs → credited dernetzjaeger → .
After running the Upgrade from D9 to D10 I ran into the following message when running drush updb
:
Unable to decode output into JSON: Syntax error
Fatal error: Declaration of Drupal\oauth2_server\OAuth2Storage::setAuthorizationCode($code, $client_id, $uid, $redirect_uri, $expires, $scope = null, $id_token = null) must be compatible with OAuth2\OpenID\Storage\AuthorizationCodeInterface::setAuthor
izationCode($code, $client_id, $user_id, $redirect_uri, $expires, $scope = null, $id_token = null, $code_challenge = null, $code_challenge_method = null) in /app/web/modules/contrib/oauth2_server/src/OAuth2Storage.php on line 536
The new patch resolves this issue.
I scanned the latest dev version plus the patch from #11 applied with the upgrade status module and found 6 D10 incompatibility issues.
I fixed these issues in my patch and rescanned it with no further open issues.
I also tested this version in my test installation with a Drupal instance running oauth2_server Module and another Drupal instance running openid_connect Module.
The whole process worked properly and I was able to log in,
Joachim Namyslo → credited dernetzjaeger → .