google-oauth2-jwt 0.3.3.2 → 0.3.3.3
raw patch · 3 files changed
+5/−5 lines, 3 filesdep ~unix-time
Dependency ranges changed: unix-time
Files
- LICENSE +1/−1
- google-oauth2-jwt.cabal +3/−3
- src/Network/Google/OAuth2/JWT.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-google-oauth2-jwt - Copyright Michel Boucey (c) 2016-2025+google-oauth2-jwt - Copyright Michel Boucey (c) 2016-2026 All rights reserved.
google-oauth2-jwt.cabal view
@@ -1,5 +1,5 @@ name: google-oauth2-jwt-version: 0.3.3.2+version: 0.3.3.3 synopsis: Get a signed JWT for Google Service Accounts description: A lightweight library to get the@@ -10,7 +10,7 @@ license-file: LICENSE author: Michel Boucey maintainer: michel.boucey@gmail.com-copyright: (c) 2016-2025 - Michel Boucey+copyright: (c) 2016-2026 - Michel Boucey category: Google build-type: Simple extra-source-files: README.md@@ -42,7 +42,7 @@ , HsOpenSSL >=0.11.7 && <0.12 , RSA >=2.4.1 && <2.5 , text >=1.2.2 && <2.2- , unix-time >=0.3.6 && <0.5+ , unix-time >=0.3.6 && <0.6 default-language: Haskell2010 ghc-options: -Wall
src/Network/Google/OAuth2/JWT.hs view
@@ -107,7 +107,7 @@ \\":\"https://www.googleapis.com/oauth2/v4/token\",\"ex\ \p\":" <> toT (utSeconds t + CTime xt) <> ",\"iat\":" <> toT (utSeconds t) <> "}")- return $+ pure $ either (pure $ Left "RSAError") (\s -> pure $ SignedJWT $ i <> "." <> encode (toStrict s))