Jake Dallimore 0f3d3b2d77
MDL-80835 enrol_lti: add partitioning support for OIDC state cookie
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change ensures the
'state' cookie, used in the OIDC handshake, has partitioning support.
This cookie can be partitioned unconditionally, since it's a cookie
controlled by the library and one we don't expect to be set without
partitioning elsewhere.
2024-03-21 15:41:16 +08:00
..

LTI 1.3 Tool Library

A library used for building IMS-certified LTI 1.3 tool providers in PHP.

This library is a fork of the packbackbooks/lti-1-3-php-library, patched specifically for use in Moodle.

It is currently based on version 5.2.1 of the packbackbooks/lti-1-3-php-library library.

The following changes are included so that the library may be used with Moodle:

  • Replace the phpseclib dependency with openssl equivalent call in public key generation code.
  • Replace the Guzzle dependency with generic HTTP client interfaces for client, response, exception.
  • Small fix to http_build_query() calls, which now explicitly include the '&' arg separator param, for compatibility with applications that override PHP's arg_separator.output value via an ini_set() call, like Moodle does.

Please see the original README for more information about the upstream library.