Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# TODO

- remove dependency on laminas/laminas-httphandlerrunner
- create a bridge towards SSP utility classes, so they can be easily mocked
- move away from SSP database as store; move to DBAL
- move to phpstan instead of psalm (as SSP)

# Version 5 to 6

Expand Down Expand Up @@ -97,11 +91,13 @@ Below are also some internal changes that should not have impact for the OIDC OP
this module as a library or extending from it, you will probably encounter breaking changes, since a lot of code
has been refactored:

- upgraded to v5 of lcobucci/jwt https://github.com/lcobucci/jwt
- upgraded to v3 of laminas/laminas-diactoros https://github.com/laminas/laminas-diactoros
- Upgraded to v5 of lcobucci/jwt https://github.com/lcobucci/jwt
- Upgraded to v3 of laminas/laminas-diactoros https://github.com/laminas/laminas-diactoros
- SimpleSAMLphp version used during development was bumped to v2.3
- In Authorization Code Flow, a new validation was added which checks for 'openid' value in 'scope' parameter. Up to
now, 'openid' value was dynamically added if not present. In Implicit Code Flow this validation was already present.
- Removed importer from legacy OAuth2 module, as it is very unlikely that someone will upgrade from legacy OAuth2
module to v6 of oidc module. If needed, one can upgrade to earlier versions of oidc module, and then to v6.

# Version 4 to 5

Expand Down
3 changes: 0 additions & 3 deletions src/Services/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,6 @@ public function __construct()
$databaseMigration = new DatabaseMigration($database);
$this->services[DatabaseMigration::class] = $databaseMigration;

$databaseLegacyOAuth2Import = new DatabaseLegacyOAuth2Import($clientRepository, $clientEntityFactory);
$this->services[DatabaseLegacyOAuth2Import::class] = $databaseLegacyOAuth2Import;

$authenticationService = new AuthenticationService(
$userRepository,
$authSimpleFactory,
Expand Down
66 changes: 0 additions & 66 deletions src/Services/DatabaseLegacyOAuth2Import.php

This file was deleted.