I'm currently stuck creating an own LTI Consumer for Moodle 3.2.
Here is the sample code: https://gist.github.com/anonymous/bccbfc82caca18cf7896338475bbaf21
I used the IMSGlobal/LTI Library for creating a consumer and building the request. But all I get is an error:
Failed request. Reason: Invalid signature
Sometimes it says: Invalid nonce. But at the end it does not work. Using a second moodle 3.2 instance as Consumer works fine. And I really dont see any difference in the basic launch request parameters. Which is totally frustrating. :/
The code was correct. It was my own fault. The secret I set was never used. :/ It was defaulted to 'secret'.