Sync Grade LTI -> Oauth Header missing

Sync Grade LTI -> Oauth Header missing

by David SEROT -
Number of replies: 2

I try to connect two moodle with LTI.

But on my Moodle LTI consumer, I can't get back the grade.

And i see in the tasklogs of the Moodle LTI Provider a sync grade error :

Starting - Grade sync for shared tool '2' for the course '15'.
Failed - The grade '0.5' for the user '444' in the tool '2' for the course '15' failed to send.
So, I try to analyze this problem, i put logs to see if my request between my LTI consumer and provider is OK.
I see a request on my Moodle LTI consumer but the header is not complete.

 i found that in my HTTP request header that the OAuth section is missing :

Does someone have an idea ?

(Sorry for my English, don't hesitate to ask if you don't understand sentences)

Have a good day.

Average of ratings: -
In reply to David SEROT

Re: Sync Grade LTI -> Oauth Header missing

by Sabine Dautzenberg -
Hello ! I have the same problem.
Did you find a solution ?
In reply to Sabine Dautzenberg

Re: Sync Grade LTI -> Oauth Header missing

by David SEROT -
Not yet.
but, we think it's a configuration problem.
We are running a server with Apache 2.4 and PHP-FPM and it's appear that Authorization header can be removed if we do not allow them in apache configuration file.
the problem is related here : https://stackoverflow.com/questions/17018586/apache-2-4-php-fpm-and-authorization-headers/17490827#17490827

Actually i can't test solution because i can't modify apache configuration on my server.
For me, I think the solution is to put on apache configuration file this directive :
CGIPassAuth On