mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
wtv
This commit is contained in:
@@ -200,7 +200,8 @@ class SelectMediaView(View):
|
|||||||
tool_issuer = request.build_absolute_uri('/')[:-1]
|
tool_issuer = request.build_absolute_uri('/')[:-1]
|
||||||
|
|
||||||
# Per LTI spec, aud should be the platform's issuer URL (or an array with issuer and optionally client_id)
|
# Per LTI spec, aud should be the platform's issuer URL (or an array with issuer and optionally client_id)
|
||||||
audience = [platform.platform_id]
|
# Some implementations (like Moodle) may expect both platform_id and client_id
|
||||||
|
audience = [platform.platform_id, platform.client_id]
|
||||||
|
|
||||||
payload = {
|
payload = {
|
||||||
'iss': tool_issuer, # Tool's issuer (MediaCMS URL)
|
'iss': tool_issuer, # Tool's issuer (MediaCMS URL)
|
||||||
|
|||||||
Reference in New Issue
Block a user