-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing LTI platform details through env
- Loading branch information
1 parent
ca34bc4
commit f88ab0e
Showing
2 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
# A template for your local .env file | ||
# A template for your local .env file during local development | ||
|
||
# Symmetric HS256 key used by ltijs to sign ltik and database entries & to sign the jwt access token | ||
LTIJS_KEY=DONOTUSETHISKEYINPRODUCTION | ||
|
||
# https://www.mongodb.com/docs/drivers/go/current/fundamentals/connections/connection-guide/#connection-uri | ||
MONGODB_CONNECTION_URI=mongodb://localhost:27017/ | ||
|
||
# LTI platform | ||
LTI_PLATFORM_URL=https://saltire.lti.app/platform | ||
LTI_PLATFORM_NAME=saltire.lti.app | ||
LTI_PLATFORM_CLIENT_ID=saltire.lti.app | ||
LTI_PLATFORM_AUTHENTICATION_ENDPOINT=https://saltire.lti.app/platform/auth | ||
LTI_PLATFORM_ACCESS_TOKEN_ENDPOINT=https://saltire.lti.app/platform/token/sc24671cd70c6e45554e6c405a2f5d966 | ||
LTI_PLATFORM_KEYSET_ENDPOINT=https://saltire.lti.app/platform/jwks/sc24671cd70c6e45554e6c405a2f5d966 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters