You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fix up the event to look like a node request for the ims-lti library
event.headers.host = event.headers.Host
event.url = `${protocol}://${event.headers.Host}/${event.stage}/lti`; // Note that we hard code the path of 'lti' here. This must match the 'path' set in serverless.yml.
event.protocol = protocol;
// Validate the lti launch
const provider = new lti.Provider(event.body.oauth_consumer_key, lti_shared_secret);