Commit 460b3311 by Adam

Merge pull request #9273 from edx/adam/add-lti-logging

add more lti logging around oauth (TNL-2980)
parents 460a4b5f c486eadd
......@@ -626,6 +626,11 @@ class LTIModule(LTIFields, LTI20ModuleMixin, XModule):
except ValueError: # Scheme not in url.
# https://github.com/idan/oauthlib/blob/master/oauthlib/oauth1/rfc5849/signature.py#L136
# Stubbing headers for now:
log.info(
u"LTI module %s in course %s does not have oauth parameters correctly configured.",
self.location,
self.location.course_key,
)
headers = {
u'Content-Type': u'application/x-www-form-urlencoded',
u'Authorization': u'OAuth oauth_nonce="80966668944732164491378916897", \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment