You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/LtiMessageLaunch.php
+26-5Lines changed: 26 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,14 @@ class LtiMessageLaunch
28
28
publicconstERR_INVALID_ID_TOKEN = 'Invalid id_token, JWT must contain 3 parts';
29
29
publicconstERR_MISSING_NONCE = 'Missing Nonce.';
30
30
publicconstERR_INVALID_NONCE = 'Invalid Nonce.';
31
-
publicconstERR_MISSING_REGISTRATION = 'Registration not found. Please have your admin confirm your Issuer URL, client ID, and deployment ID.';
31
+
32
+
/**
33
+
* :issuerUrl and :clientId are used to substitute the queried issuerUrl
34
+
* and clientId. Do not change those substrings without changing how the
35
+
* error message is built.
36
+
*/
37
+
publicconstERR_MISSING_REGISTRATION = 'LTI 1.3 Registration not found for Issuer :issuerUrl and Client ID :clientId. Please make sure the LMS has provided the right information, and that the LMS has been registered correctly in the tool.';
38
+
32
39
publicconstERR_CLIENT_NOT_REGISTERED = 'Client id not registered for this issuer.';
33
40
publicconstERR_NO_KID = 'No KID specified in the JWT Header.';
34
41
publicconstERR_INVALID_SIGNATURE = 'Invalid signature on id_token';
@@ -276,6 +283,19 @@ public function getLaunchId()
0 commit comments