Open michielbdejong opened 1 year ago
The current storage engine for the PHP Solid Server is "on disk", using FlySystem so "disk" does not have to be a local disk but could also be an AWS S3 bucket, or a Database, etc.
I think ypur first effort (on the test-suite-fixes-2023
, adding src/DpopFactoryTrait.php
and src/JtiReplayDetector.php
, is a good start. (Although we might want to place those files in another location).
I copied the replay detector from Solid-Nextcloud but this server does not have a database server so I didn't find a good way to store/query previously used JTIs.
I disabled it for now to see if I can get the tests to pass, but at the very least we should implement this with storing the data in some text file or something.