packages feed

yesod-auth-lti13 0.2.0.0 → 0.2.0.1

raw patch · 4 files changed

+32/−23 lines, 4 filesdep ~aesondep ~base64-bytestringdep ~cryptonite

Dependency ranges changed: aeson, base64-bytestring, cryptonite, jose-jwt, lti13, oidc-client

Files

CHANGELOG.md view
@@ -1,27 +1,33 @@-# Revision history for lti13+# Revision history for yesod-auth-lti13 -## 0.1.0.0 -- 2020-08-13+## 0.2.0.1 -- 2021-02-26 -* Unreleased+* Fix version bounds+* Change the LTI-RI URL as our previous one got deleted (?!) -## 0.1.1.0 -- 2020-09-15+## 0.2.0.0 -- 2021-01-09 -* Handle Canvas Cloud setting all their issuers the same.-* Remove dependency on changed jose-jwt. Thanks @tekul for the help on this.+* BREAKING: Change the signatures of the `getLtiIss`, `getLtiSub` and+  `getLtiToken` functions to operate on `credsExtra` instead of sessions. -## 0.1.2.0 -- 2020-09-16+## 0.1.2.2 -- 2020-09-19 -* Add `authLTI13WithWidget`+* No changes  ## 0.1.2.1 -- 2020-09-16  * No changes -## 0.1.2.2 -- 2020-09-19+## 0.1.2.0 -- 2020-09-16 -* No changes+* Add `authLTI13WithWidget` -## 0.2.0.0 -- 2021-01-09+## 0.1.1.0 -- 2020-09-15 -* BREAKING: Change the signatures of the `getLtiIss`, `getLtiSub` and-  `getLtiToken` functions to operate on `credsExtra` instead of sessions.+* Handle Canvas Cloud setting all their issuers the same.+* Remove dependency on changed jose-jwt. Thanks @tekul for the help on this.++## 0.1.0.0 -- 2020-08-13++* Unreleased+
README.md view
@@ -13,7 +13,10 @@ enable it for haskell-language-server).  A sample configuration of the LTI 1.3 reference implementation for a site using-this library is available here: https://lti-ri.imsglobal.org/platforms/1255/+this library is available here: https://lti-ri.imsglobal.org/platforms/1812/++If this link breaks in the future, see the documentation at ../referencetool in+the repo on how to create a new one.  The following configuration is used on the provider (LMS) side, assuming your `AuthR` is `/auth`:
example/Main.hs view
@@ -119,8 +119,8 @@     retrievePlatformInfo ("aaaaa", Just "abcde") = return $ PlatformInfo {           platformIssuer = "aaaaa"         , platformClientId = "abcde"-        , platformOidcAuthEndpoint = "https://lti-ri.imsglobal.org/platforms/1255/authorizations/new"-        , jwksUrl = "https://lti-ri.imsglobal.org/platforms/1255/platform_keys/1248.json"+        , platformOidcAuthEndpoint = "https://lti-ri.imsglobal.org/platforms/1812/authorizations/new"+        , jwksUrl = "https://lti-ri.imsglobal.org/platforms/1812/platform_keys/1732.json"         }     retrievePlatformInfo (iss, cid) = do         $logWarn $ "unknown platform " <> iss <> " with client id " <> (T.pack $ show cid)
yesod-auth-lti13.cabal view
@@ -1,7 +1,7 @@ cabal-version:       >=1.10  name:                yesod-auth-lti13-version:             0.2.0.0+version:             0.2.0.1 synopsis:            A yesod-auth plugin for LTI 1.3 description:         A plugin using <https://hackage.haskell.org/package/lti13>                      to implement IMS Global LTI 1.3 authentication for@@ -25,17 +25,17 @@     -- other-extensions:     build-depends:       base >=4.12 && <5                        -- these two are always updated in concert with each other-                       , lti13                             == 0.2.0.0-                       , base64-bytestring                 >= 1.0.0 && < 1.1+                       , lti13                             == 0.2.0.1+                       , base64-bytestring                 >= 1.0.0 && < 1.2                        , bytestring                        >= 0.10.10 && < 0.11                        , containers                        >= 0.6.2 && < 0.7-                       , cryptonite                        >= 0.26 && < 0.27+                       , cryptonite                        >= 0.26 && < 0.28                        , http-client                       >= 0.6.4 && < 0.7                        , text                              >= 1.2.4 && < 1.3                        , random                            >= 1.1 && < 1.2                        , microlens                         >= 0.4.11 && < 0.5-                       , oidc-client                       >= 0.5.1 && < 0.6-                       , aeson                             >= 1.4.7 && < 1.5+                       , oidc-client                       >= 0.5.1 && < 0.7+                       , aeson                             >= 1.4.7 && < 1.6                        , safe-exceptions                   >= 0.1.7 && < 0.2                        , yesod-auth                        >= 1.6.10 && < 1.7                        , http-conduit                      >= 2.3.7 && < 2.4@@ -44,7 +44,7 @@                        , aeson-pretty                      >= 0.8.8 && < 0.9                        , load-env                          >= 0.2.1 && < 0.3                        , yesod                             >= 1.6.1 && < 1.7-                       , jose-jwt                          >= 0.8.0 && < 0.9.0+                       , jose-jwt                          >= 0.8.0 && < 0.10.0                        , time                              >= 1.0.0 && < 1.11     -- hs-source-dirs:     default-language:    Haskell2010