This commit is contained in:
Markos Gogoulos
2026-01-28 22:27:19 +02:00
parent 40cd7916e7
commit 981fec296c

View File

@@ -213,6 +213,13 @@ class LaunchView(View):
# Extract and store message hint data if present (for filter-based launches) # Extract and store message hint data if present (for filter-based launches)
custom_claims = launch_data.get('https://purl.imsglobal.org/spec/lti/claim/custom', {}) custom_claims = launch_data.get('https://purl.imsglobal.org/spec/lti/claim/custom', {})
# DEBUG: Log custom claims to see what we're receiving
print(f"[Launch] Custom claims received: {custom_claims}")
print(f"[Launch] Has media_friendly_token: {bool(custom_claims.get('media_friendly_token'))}")
if custom_claims.get('media_friendly_token'):
print(f"[Launch] media_friendly_token value: {custom_claims.get('media_friendly_token')}")
lti_message_hint_str = custom_claims.get('lti_message_hint', '') lti_message_hint_str = custom_claims.get('lti_message_hint', '')
if lti_message_hint_str: if lti_message_hint_str:
try: try: