oat-sa / lib-lti1p3-core

PHP library for LTI 1.3 Core implementations as platforms and / or as tools.
GNU General Public License v2.0
33 stars 17 forks source link

Feature/tr 4408/redirect uri must be static #149

Closed kilatib closed 2 years ago

kilatib commented 2 years ago

TR-4408

How to test

  1. Create delivery
  2. Generate delivery URL
  3. Check authentication response parameters
  4. We Should have in redirect_uri static url

Development impact

  1. Modified OidcInitiator for detect dynamic url end
  2. Added new constructor param $isRemoveDynamicRedirectUriPart
  3. By default false
  4. If set to true it will remove dynamic part from LtiMessage for redirect_uri param

Demo video

https://www.loom.com/share/0f8c9994de3c4da783273e300b0958f1