Skip to content

Releases: freizl/hoauth2

hoauth2-2.6

04 Oct 06:41
Compare
Choose a tag to compare

What's Changed

  • Change the type parameter order in http client JSON method in #156
  • Change http client method to only take one Authentication Method instead of Set (7fa768d)
  • Remove authPostBS1 which allow credential being sent in multiple ways, which is not standard.
  • Remove Douban which sunset their OAuth2 support (7fa768d)
  • Deprecate all *Internal method with *WithAuthMethod alternative (07b31bb)
  • Change license to MIT
  • Add support for PKCE flow within the new module Network.OAuth2.Experiment in #155
  • Add support for Resource Owner Password and Client Credentials flow, also in the new module Network.OAuth2.Experiment
  • Add hoauth2-providers and hoauth2-providers-tutorial module for a list of support Identity Providers in #155
  • Add hoauth2-tutorial module

Full Changelog: hoauth2-2.5...hoauth2-2.6

hoauth2-2.5

17 Aug 19:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: hoauth2-2.4...hoauth2-2.5

hoauth2-2.4

17 Aug 19:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: hoauth2-2.3...hoauth2-2.4

hoauth2-2.1

19 Feb 03:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: hoauth2-2.0...hoauth2-2.1

hoauth2-2.0

15 Feb 19:14
Compare
Choose a tag to compare

Break changes

  • Refactoring naming convention of OAuth2 data type.
-  { oauthClientId            = "xxxxxxxxxxxxxxx"
-  , oauthClientSecret        = Just "xxxxxxxxxxxxxxxxxxxxxx"
-  , oauthCallback            = Just [uri|http://127.0.0.1:9988/oauthCallback|]
-  , oauthOAuthorizeEndpoint  = [uri|https://api.weibo.com/oauth2/authorize|]
-  , oauthAccessTokenEndpoint = [uri|https://api.weibo.com/oauth2/access_token|]
+  { oauth2ClientId           = "xxxxxxxxxxxxxxx"
+  , oauth2ClientSecret       = Just "xxxxxxxxxxxxxxxxxxxxxx"
+  , oauth2RedirectUri        = Just [uri|http://127.0.0.1:9988/oauthCallback|]
+  , oauth2AuthorizeEndpoint  = [uri|https://api.weibo.com/oauth2/authorize|]
+  , oauth2TokenEndpoint      = [uri|https://api.weibo.com/oauth2/access_token|]
+  }

Full Changelog: hoauth2-1.16.2...hoauth2-2.0

hoauth2-1.7.0

03 Mar 08:20
Compare
Choose a tag to compare
hoauth2-1.7.0 Pre-release
Pre-release
  • Added sample server and remove individual sample test
  • Added fetchAccessToken2
  • Added refreshAccessToken and deprecate fetchRefreshToken
  • Rename authGetBS' to authGetBS2
  • Rename authPostBS' to authPostBS2
  • Added authPostBS3

Apparently naming with prefix number is bad practice! It's all due to the differently implementation of oauth2 of vendors. Will conduct further refactor in upcoming releases.

hoauth2-1.0.0

07 Apr 01:18
Compare
Choose a tag to compare

New

  • add umbrella type OAuth2Token to accommodate AccessToken, RefreshToken
  • type the intermediate authentication code as ExchangeToken

Fix

  • missing client_id error for some tests by appending client_id and client_secrect into header (from test code rather library. needs thoughtful thinking how to refactor the library)