Releases: freizl/hoauth2
Releases · freizl/hoauth2
hoauth2-2.6
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
andhoauth2-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
hoauth2-2.4
What's Changed
Full Changelog: hoauth2-2.3...hoauth2-2.4
hoauth2-2.1
What's Changed
Full Changelog: hoauth2-2.0...hoauth2-2.1
hoauth2-2.0
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
- Added sample server and remove individual sample test
- Added
fetchAccessToken2
- Added
refreshAccessToken
and deprecatefetchRefreshToken
- Rename
authGetBS'
toauthGetBS2
- Rename
authPostBS'
toauthPostBS2
- 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
New
- add umbrella type
OAuth2Token
to accommodateAccessToken
,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)