Skip to content

Commit f202664

Browse files
committed
feat: find issuer on blackboard with all options
1 parent 81f6836 commit f202664

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Controller/LTILaunchController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ public function launch(Request $request): Response
4343
if (!$client) {
4444
$client = $this->documentManager->getRepository(LTIClient::class)->findOneBy(['issuer' => 'https://developer.blackboard.com/']);
4545
if (!$client) {
46-
throw new \Exception('Client not found.');
46+
$client = $this->documentManager->getRepository(LTIClient::class)->findOneBy(['issuer' => 'https://blackboard.com']);
47+
if (!$client) {
48+
throw new \Exception('Client not found.');
49+
}
4750
}
4851
$blackboardOrigin = true;
4952
}

0 commit comments

Comments
 (0)