The (aspirational) foundation of CS at WCU!

LTI ID Mapping #68

Merged bwc9876.dev
targeting main from ben/id-mapping
Merged opened by and assigned to bwc9876.dev
targeting main from ben/id-mapping
  • Auth now stores the email claim as org_id for the user.
  • LTI will now use the email received from the platform to find the account.
  • LTI now auths the user as whatever the platform claims
  • LTI creates a deployment row if it's not already present on launch
  • Typo in rs-database

The other testing IDP we used didn't do email so the Moodle VM has now become the "infra" vm and will run Moodle for LTI and Dex for OIDC.

Commits 10

rs-database: typo fix
lti: create new deployment on launch
auth: make upsert_user non-async and take &mut DbConn
lti: fix lti init params
infra-vm: add dex IDP
moodle-vm: rename to infra
lti: do LTI auth on successful launch
auth: extract user upsert logic, make public
auth: use email claim for org_id
common: better internal error logging