Closed (fixed)
Project:
simpleSAMLphp Authentication
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2017 at 15:04 UTC
Updated:
2 Mar 2018 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Heisen-blueComment #3
dakku commentedAlthough the patch itself is relatively simple, I thank you for patching.
I think we need to do some proper testing for all usecases. here is a list of changes introduced in 1.15x
https://simplesamlphp.org/docs/1.15/simplesamlphp-upgrade-notes-1.15
and
https://simplesamlphp.org/docs/1.15/simplesamlphp-changelog#section_1
I havent personally got the time to test the upgrade, but lets leave this thread open to fully evaluate the upgrade path.
Comment #4
Heisen-blueThanks for your quick reply!
In my use case, I don't use any new features added in the last version. The module works fine for me.
Maybe it can break something on an existing configuration but I can't tell.
Comment #5
dmundra@Heisen-blue what version of D8 are you running? I ran into a Twig error with 8.3.7
Comment #6
Heisen-blueHi @dmundra, I'm running the 8.4.2 version. What's your error?
Comment #7
AhmadZain commentedHi @Heisen-blue & @dmundra
Also this current version having an issue as it's missing all the files under config/ folder
Comment #8
Heisen-blueHi @AhmadZain,
For testing, I've created a new directory "simplesamlphp" in my "www" directory with these files (config, authsources...) and added symlinks in my composer.json in the 'post-install-cmd' script: "
ln -f -s ../../../../simplesamlphp/config/config.php ./vendor/simplesamlphp/simplesamlphp/config/config.php"Comment #9
dakku commented@AhmadZain
مرحبا، كيف هو فودافون؟
I will update the install instructions when using composer to install simplesaml in vendor folder.
Comment #10
dmundra@heisen-blue sorry for the delay. I highlighted the error here: https://www.drupal.org/project/simplesamlphp_auth/issues/2930366. I am still waiting to upgrade the site to 8.4.3.
Comment #11
mikat commentedFor me it worked to comment out the following lines in simplesamlphp/simplesamlphp/config/config.php
when I was using sql as a storage
This was explained at https://github.com/simplesamlphp/simplesamlphp/issues/517#issuecomment-2...
Comment #12
AhmadZain commented@dakku يا مرحب كله تمام :)
this will be appreciated bro ;)
I missed you mate ...
@Heisen-blue
Thanks for the tip ;)
Comment #13
jefuri commentedSomething changed in the composer.json so the patch does not apply anymore. Rerolled the patch.
Comment #15
dmundra1.15.2 is out: https://simplesamlphp.org/docs/1.15/simplesamlphp-changelog#section_2 and works fine with 8.3.7 and 8.4.4
Comment #16
btully commentedAny update on this? It seems as though simplesamlphp will only work with memcache and PHP 7.1 if the version of simplesamlphp is >= 1.15. Anyone using composer based Drupal installs (i.e., BLT) is handcuffed by the fact that simplesamlphp_auth's composer.json pins it to 1.14.x
Comment #17
dakku commentedGuys, I am happy to update to the latest version. We have a number of open threads regarding updating the lib version. I personally dont have time to test the lib upgrade yet.
There seems to miscellaneous issues relating to 1.5x: see
https://www.drupal.org/project/simplesamlphp_auth/issues/2912807
I am assuming this has been tested already by someone?
Comment #18
dakku commentedBrian, on the Acquia client websites did you try the patch? Did all the functionality work? Could you share any findings from having used the patch?
Comment #19
lcatlett commentedSince 1.15.3 is now out the previously posted patches will conflict with roave/security-advisories on composer-managed projects. Attached is an updated patch which resolves both the dependency and upgrade issues.
Comment #20
anavarreHey Janak, hope you're doing well! I don't if anybody has thoroughly tested the updated library yet, but one thing is for sure, 1.15.2 is a security release and it means users are forced to be pinned to an insecure release currently, which isn't great.
Also, Composer-managed sites cannot simply patch simplesamlphp_auth's
composer.jsonfile since AFAICT the way Composer works with the sub-tree split doesn't allow for that (or it's too late in the process, just checkcomposer.lockto confirm). The only workaround is to fork the module as if it was a custom module.My suggestion going forward wouldn't be to pin the version at all, but to let sites stick to the latest library (minor) version always and report back if/when they see issues.
Comment #21
dakku commentedHey Aurelien,
How are you doing? Long time no speak mate, how are things?
Makes sense to me :) I will roll out a 1.15x release to dev and open it for feedback.
Comment #23
dakku commentedThanks again everyone for your input.
Please try RC6 and post any bugfixes.
Comment #24
dakku commentedComment #25
anavarreAll is well :-)
Thanks so much for the quick turnaround time, Janak!