Skip to content

Commit 12fd40b

Browse files
committed
Remove DatabaseLegacyOAuth2Import service
1 parent d22585d commit 12fd40b

File tree

3 files changed

+4
-77
lines changed

3 files changed

+4
-77
lines changed

UPGRADE.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# TODO
2-
3-
- remove dependency on laminas/laminas-httphandlerrunner
4-
- create a bridge towards SSP utility classes, so they can be easily mocked
5-
- move away from SSP database as store; move to DBAL
6-
- move to phpstan instead of psalm (as SSP)
71

82
# Version 5 to 6
93

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

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

106102
# Version 4 to 5
107103

src/Services/Container.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,6 @@ public function __construct()
317317
$databaseMigration = new DatabaseMigration($database);
318318
$this->services[DatabaseMigration::class] = $databaseMigration;
319319

320-
$databaseLegacyOAuth2Import = new DatabaseLegacyOAuth2Import($clientRepository, $clientEntityFactory);
321-
$this->services[DatabaseLegacyOAuth2Import::class] = $databaseLegacyOAuth2Import;
322-
323320
$authenticationService = new AuthenticationService(
324321
$userRepository,
325322
$authSimpleFactory,

src/Services/DatabaseLegacyOAuth2Import.php

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)