Download the PHP package groton-school/slim-lti-partitioned-session without Composer
On this page you can find all versions of the php package groton-school/slim-lti-partitioned-session. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download groton-school/slim-lti-partitioned-session
More information about groton-school/slim-lti-partitioned-session
Files in groton-school/slim-lti-partitioned-session
Package slim-lti-partitioned-session
Short Description Negotiate CHIPS partitioned third party session cookies from an embedded LTI Tool
License GPL-3.0
Informations about the package slim-lti-partitioned-session
groton-school/slim-lti-partitioned-session
Negotiate CHIPS partitioned third party session cookies from an embedded LTI Tool
Install
Use
This implementation expects a default slim-skeleton and relies on groton-school/slim-lti-shim and packbackbooks/lti-1p3-tool for core LTI Tool functionality.
-
Optionally, implement
SettingsInterface-- alternativelyDefaultSettingsare available - Register the cookie-negotiation routes
groton-school/slim-skeleton@dev-gae/lti-tool
groton-school/slim-skeleton is the canonical example of how this shim is meant to be used.
How
Given the insidiuous prevalance of user-tracking web technologies, and the use of third-party cookies to facilitate them, many browsers have imposed hard limits on the use of third-party cookies. This is awkward, because the LTI standard is built on the assumption that a) third-party cookies will be readily available for the OIDC handshake and launch and b) most resources will be embedded in a third-party IFRAME context.
This package provides a modified LaunchHandler compatible with groton-school/slim-lti-shim that injects a third-party cookie test into the LTI Tool launch. This is paired with the PartitionedSession middleware that ensures that a) all session cookies are sent as both Secure and Partitioned (which is enough for Chromium-based browsers).
If third-party cookies cannot be initially set (as is the case when working with Safari and other WebKit-based browsers using ITP), a more interactive permissions-handshake with the user is required. The package negotiates this handshake and then uses the PartitionedSession middleware to resume the originally-launched LTI Tool session and provide the LTI resource.
All versions of slim-lti-partitioned-session with dependencies
groton-school/slim-lti-shim Version ^4.0
groton-school/slim-norms Version ^2.1
odan/session Version ^6.4
php-di/php-di Version ^7.0
psr/container Version ^2.0
psr/http-message Version ^2.0
slim/http Version ^1.4
slim/php-view Version ^3.4
slim/slim Version ^4.12