When setting up LTI access on Acquia getting error message "Error: Invalid context, OAuth failure.". Meanwhile everything works locally.

Using Schoology to test LTI links.

Members fund testing for the Drupal project. Drupal Association Learn more


ygerasimov created an issue. See original summary.

ygerasimov’s picture

Status: Active » Needs review
745 bytes

The problem is that https got terminated before hitting web server. So we get port 80 in $_SERVER variables. Meanwhile OAuth signature was built with port value 443. Attached patch resolves the issue.

ygerasimov’s picture

Updated patch. There was typo in previous one.

darrenwh’s picture

Looks good