lti13: Core functionality for LTI 1.3

[ lgpl, library, web ] [ Propose Tags ] [ Report a vulnerability ]

A library implementing the core LTI 1.3 authentication protocol, suitable for use in implementing libraries for any web framework. An example use is https://hackage.haskell.org/package/yesod-auth-lti13


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.3.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2 && <2.2), base (>=4.12.0 && <5), bytestring (>=0.10.10 && <0.12), containers (>=0.6.2 && <0.7), http-client (>=0.6.4 && <0.8), http-types (>=0.12.3 && <0.13), jose-jwt (>=0.8.0 && <0.10), oidc-client (>=0.7 && <0.8), safe-exceptions (>=0.1.7 && <0.2), text (>=1.2.4 && <1.3 || >=2.0 && <2.1) [details]
Tested with ghc ==8.10.7 || ==9.2.5 || ==9.4.3
License LGPL-3.0-only
Author Jade Lovelace
Maintainer Jade Lovelace <software at lfcode dot ca>
Category Web
Home page https://github.com/lf-/lti13#readme
Bug tracker https://github.com/lf-/lti13/issues
Source repo head: git clone https://github.com/lf-/lti13
Uploaded by jade at 2022-11-24T07:45:48Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1413 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-11-24 [all 1 reports]

Readme for lti13-0.3.0.0

[back to package description]

lti13

This is a minimal implementation of LTI 1.3 authentication for Haskell. It supports performing LTI launches and getting most of the interesting fields of the resource link request.

This library is intended to be used in developing integrations with web frameworks, although it can be used directly. A sample integration is yesod-auth-lti13.

Correct usage

Client code is expected to maintain a CSRF token, the state parameter, in session storage and check it is the same as the one from handleAuthResponse, failing authentication if it is not. Future versions of the library may introduce a mandatory callback to ensure clients do this. For an example of this, see the yesod-auth-lti13 sources.