Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX login loop FIX singelogout not working
Login loop fix required setting the secure cookie flag, which requires the addition of the SIMPLESAMLPHP_BASEURLPATH env var. This env var tells SimpleSAMLphp that it's operating under https even though it's serving http requests due to ingress. Logout wasn't working since Shib requires singlelogout requests to be signed, and the wiki wasn't able to sign them due to not having the sp certs. I switched to mounting the sp certs into /var/www/simplesamlphp-base/cert so that they'll get copied into the shared nfs mount that the wiki pod does have access to. This didn't work initially because mounting as a dir (not using subpath) resulted in the files being symlinks. And the symlinks are, of course, invalid in the wiki pod. Mounting them as individual files using subpath created actual files, which does allow them to be copied into the nfs shared volume. Instead of making the SP entity ID depend on the baseurlpath, I've realize that it's probably better to make it its own config, since the SP entity ID can remain stable even if the base url changes. So now there's a new simplesamlphp.sp.entityId values config.
- Loading branch information