hoauth2 1.8.6 → 1.8.7
raw patch · 2 files changed
+8/−8 lines, 2 filesdep ~warpPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: warp
API changes (from Hackage documentation)
Files
- example/Keys.hs +6/−6
- hoauth2.cabal +2/−2
example/Keys.hs view
@@ -10,7 +10,7 @@ weiboKey :: OAuth2 weiboKey = OAuth2 { oauthClientId = "1962132691" , oauthClientSecret = "a2ad30383bdff9bcb12be6a3d30deeb1"- , oauthCallback = Just [uri|http://127.0.0.1:9988/oauthCallback|]+ , oauthCallback = Just [uri|http://127.0.0.1:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://api.weibo.com/oauth2/authorize|] , oauthAccessTokenEndpoint = [uri|https://api.weibo.com/oauth2/access_token|] }@@ -19,7 +19,7 @@ githubKey :: OAuth2 githubKey = OAuth2 { oauthClientId = "bf86d338485a96a93c88" , oauthClientSecret = "a1c00dada665dc00aa6fafe0495c7c885f82d1ce"- , oauthCallback = Just [uri|http://127.0.0.1:9988/githubCallback|]+ , oauthCallback = Just [uri|http://127.0.0.1:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://github.com/login/oauth/authorize|] , oauthAccessTokenEndpoint = [uri|https://github.com/login/oauth/access_token|] }@@ -28,7 +28,7 @@ googleKey :: OAuth2 googleKey = OAuth2 { oauthClientId = "886894027376.apps.googleusercontent.com" , oauthClientSecret = "27w98gwGB1h8N5a6JQ2bT_nm"- , oauthCallback = Just [uri|http://127.0.0.1:9988/googleCallback|]+ , oauthCallback = Just [uri|http://127.0.0.1:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://accounts.google.com/o/oauth2/auth|] , oauthAccessTokenEndpoint = [uri|https://www.googleapis.com/oauth2/v3/token|] }@@ -37,7 +37,7 @@ facebookKey :: OAuth2 facebookKey = OAuth2 { oauthClientId = "414630782030965" , oauthClientSecret = "0e648eae100da4d03f16594f231fc1d0"- , oauthCallback = Just [uri|http://t.haskellcn.org/cb|]+ , oauthCallback = Just [uri|http://127.0.0.1:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://www.facebook.com/dialog/oauth|] , oauthAccessTokenEndpoint = [uri|https://graph.facebook.com/v2.3/oauth/access_token|] }@@ -80,8 +80,8 @@ } oktaKey :: OAuth2-oktaKey = OAuth2 { oauthClientId = "xxx"- , oauthClientSecret = "xxx"+oktaKey = OAuth2 { oauthClientId = "0oad3popatwUIhWV40h7"+ , oauthClientSecret = "YFqXRjtsy7IYRbueiG2tcgHzhaawLccxqq5ruPfN" , oauthCallback = Just [uri|http://localhost:9988/oauth2/callback|] , oauthOAuthorizeEndpoint = [uri|https://dev-148986.oktapreview.com/oauth2/v1/authorize|] , oauthAccessTokenEndpoint = [uri|https://dev-148986.oktapreview.com/oauth2/v1/token|]
hoauth2.cabal view
@@ -1,6 +1,6 @@ Name: hoauth2 -- http://wiki.haskell.org/Package_versioning_policy-Version: 1.8.6+Version: 1.8.7 Synopsis: Haskell OAuth2 authentication client @@ -127,7 +127,7 @@ http-conduit >= 2.1 && < 2.4, http-types >= 0.11 && < 0.13, wai >= 3.2 && < 3.3,- warp >= 3.2 && < 3.3,+ warp >= 3.2 && < 3.4, containers >= 0.4 && < 0.7, aeson >= 1.0.0.0 && < 1.5, microlens >= 0.4.0 && < 0.5,