mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-21 15:52:58 -05:00
this
This commit is contained in:
@@ -203,9 +203,8 @@ class SelectMediaView(View):
|
||||
# Create JWT payload
|
||||
tool_issuer = request.build_absolute_uri('/')[:-1]
|
||||
|
||||
# Per LTI spec, aud should be the platform's issuer URL
|
||||
# Try just the platform URL (some Moodle versions don't accept arrays)
|
||||
audience = platform.platform_id
|
||||
# Per LTI spec, aud should be the client_id assigned by the platform
|
||||
audience = platform.client_id
|
||||
|
||||
# Get sub (subject) from original launch
|
||||
sub = message_launch_data.get('sub')
|
||||
|
||||
Reference in New Issue
Block a user