Skip to content

Commit aaa2d75

Browse files
committed
fix: add custom name using url without domain to allow multiple LTI clients on blackboard
1 parent f202664 commit aaa2d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Services/LTIRegister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private function createRegistrationJSON(): string
113113
$this->compoundToolUrl().PumukitLmsBundle::LTI_TOOL_DEEPLINK_URL,
114114
$this->compoundToolUrl(),
115115
];
116-
$json['client_name'] = 'PuMuKIT LMS';
116+
$json['client_name'] = $this->compoundToolUrlWithoutDomain();
117117
$json['jwks_uri'] = $this->compoundToolUrl().PumukitLmsBundle::LTI_TOOL_PUBLIC_KEYSET_URL;
118118
$json['token_endpoint_auth_method'] = 'private_key_jwt';
119119
$json['https://purl.imsglobal.org/spec/lti-tool-configuration'] = [

0 commit comments

Comments
 (0)