Hi,
On 21 Aug 2018, at 17:41 PM, Jeff Brown <
jef...@gmail.com> wrote:
> Yeah due to deadlines, we lack the time to re-architect it that way for the moment, but I'll keep it in mind for the future.
>
> My first approach was exactly as you described, but issues with sessions gave me headaches for over two weeks (I didn't know about this place at the time). And I ended up migrating to memcache, which seemed to solve the session issues with the IDP stand in and SP server. At which point I returned to trying to make a landing page as you described, but I was never able to get a single attribute from the remote saml connection on my lander.
What did your logs say?
If you were having issues with sessions, it’s likely that you also had them misconfigured. That would actually explain that error, since when you reach y our landing page at "/foo/bar.php”, your SimpleSAMLphp session set for “/simplesaml/” is not available. Of course that’s only an example, but could be the reason.
> At least this way, by dropping the module in place, I know I've got the right data at the right instance, and I can solve our issue for the moment.
>
> Regarding maintenance for updates, I've made a git repository clone for our SAML servers, including a branch for our additional module, and I'm sure I can deal with that over the long haul until we do get time for a re-architect/second phase.
I don’t think that’ll be easy to manage. If you really want to do this with a module, you should then make that module installable with composer:
https://github.com/simplesamlphp/composer-module-installer
Then you can update SimpleSAMLphp *and* your module with composer, while keeping your configuration apart. Tracking the original repo is not really recommended unless you are doing development, since you should always use stable releases.