by vartika sinha.
It turns out that i (my provider) had to trim hash and secret before sending LTI request to moodle consumer.
I was using moodle 2.7 oauth1a google java libs version 20100527