mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
fix
This commit is contained in:
@@ -201,7 +201,8 @@ class SelectMediaView(View):
|
||||
lti_content_items.append(lti_item)
|
||||
|
||||
# Create JWT payload
|
||||
tool_issuer = request.build_absolute_uri('/')[:-1]
|
||||
# Use client_id as issuer to avoid "wrong consumer key" errors in Moodle
|
||||
tool_issuer = platform.client_id
|
||||
|
||||
# Per LTI spec, aud should be the platform's issuer URL
|
||||
# Try just the platform URL (some Moodle versions don't accept arrays)
|
||||
|
||||
Reference in New Issue
Block a user