Skip to content

Commit 2247e5e

Browse files
Adding environment variables to control deployment ID and to optionally continue supporting the older version of Materia. Restored functionality necessary to support Materia via LTI1.1.
1 parent fc46cc9 commit 2247e5e

File tree

3 files changed

+625
-179
lines changed

3 files changed

+625
-179
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
11
{
22
"default":
33
{
4+
"materiaLtiVersion": "1.3",
45
"oauthKey": "materia-lti-key",
56
"oauthSecret": "materia-lti-secret",
67
"oboFamilyCode": "obojobo-next",
78
"oboGuid": "obojobo.next.default.guid",
89
"oboJwtKey": "obojobo-jwt-key",
910
"oboLtiClientId": "1234",
1011
"oboLtiUuid": "00000000-0000-0000-0000-000000000000",
12+
"oboLtiDeploymentId": "obojobo-deploy-id",
1113
"oboName": "Obojobo Next"
1214
},
1315
"development": {
1416
"clientMateriaHost": "http://localhost:420",
17+
"materiaLtiVersion": {"ENV": "MATERIA_LTI_VERSION"},
1518
"oboGuid": "obojobo.next.local.dev.guid",
1619
"oboLtiUuid": "00000000-0000-0000-0000-000000000000",
1720
"oboPrivateRsaKey": {"ENV": "OBO_PRIVATE_RSA_KEY"},
1821
"optionalOboServerHost": "https://host.docker.internal:8080"
1922
},
2023
"production": {
2124
"clientMateriaHost": {"ENV": "MATERIA_HOST"},
25+
"materiaLtiVersion": {"ENV": "MATERIA_LTI_VERSION"},
2226
"oauthKey": {"ENV": "MATERIA_OAUTH_KEY"},
2327
"oauthSecret": {"ENV": "MATERIA_OAUTH_SECRET"},
2428
"oboGuid": {"ENV": "OBO_LTI_GUID"},
2529
"oboJwtKey": {"ENV": "OBO_JWT_KEY"},
2630
"oboLtiClientId": {"ENV": "OBO_LTI_CLIENTID"},
2731
"oboLtiUuid": {"ENV": "OBO_LTI_UUID"},
32+
"oboLtiDeploymentId": {"ENV": "OBO_LTI_DEPLOYMENTID"},
2833
"oboPrivateRsaKey": {"ENV": "OBO_PRIVATE_RSA_KEY"}
2934
}
3035
}

0 commit comments

Comments
 (0)