Skip to content

LTI self-posting form fix - hot fix for WW 2.20 (same change as #3032)#3033

Open
taniwallach wants to merge 1 commit into
openwebwork:mainfrom
taniwallach:lti-self-posting-drop-repost-ww220-hotfix
Open

LTI self-posting form fix - hot fix for WW 2.20 (same change as #3032)#3033
taniwallach wants to merge 1 commit into
openwebwork:mainfrom
taniwallach:lti-self-posting-drop-repost-ww220-hotfix

Conversation

@taniwallach

Copy link
Copy Markdown
Member

Drop the repost parameter form the LTI self-posting form used after the login stage to trigger the authentication stage on the LMS.

The parameter was is not part of the LTI standard, and is used by Moodle to prevent the authentication stage from entering a self-reposting loop, as a self-reposting mechanism is used to pull in the Moodle session cookie which is no longer provided by browsers when SameSite=Lax is set on the LMS side and the sites are considered cross-site.

Having this unneeded parameter set breaks the Moodle to WeBWorK login/launch and content selection mechanism after Moodle changed to defaulting to SameSite=Lax.

Fix for #2982

Hotfix version of #3032

login stage to trigger the authentication stage on the LMS.

The parameter was is not part of the LTI standard, and is used by Moodle
to prevent the authentication stage from entering a self-reposting loop,
as a self-reposting mechanism is used to pull in the Moodle session
cookie which is no longer provided by browsers when SameSite=Lax is set
on the LMS side and the sites are considered cross-site.

Having this unneeded parameter set breaks the Moodle to WeBWorK
login/launch and content selection mechanism after Moodle changed
to defaulting to SameSite=Lax.

Additional details are in:
    openwebwork#2982
@taniwallach taniwallach requested a review from drgrice1 June 26, 2026 07:40
@taniwallach taniwallach changed the title LTI self-posting form fix - hot fix for WW 2.20 LTI self-posting form fix - hot fix for WW 2.20 (same change as #3032) Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants