oat-sa / lib-lti1p3-core

PHP library for LTI 1.3 Core implementations as platforms and / or as tools.
GNU General Public License v2.0
33 stars 16 forks source link

Failure of ServiceClient on migration from 5 to 6 #145

Open rlbaltha opened 2 years ago

rlbaltha commented 2 years ago

LTIServiceClientFailure

On migrating from 5 to 6 we get a failure in the LtiServiceClient.

We reverted #109 (removing the array for the CLAIM_AUD on 207) which fixed the issue.

wazelin commented 2 years ago

Hello @rlbaltha,

I would probably start by checking if https://auth.brightspace.com/core/connect/token responds with a correct Content-Length header value. It does look to me that this request handler is either not setting it, or setting it to a value smaller that the response size actually is.