Releases: pow-auth/assent
Releases · pow-auth/assent
v0.3.0
This release consists of breaking changes.
Userinfo is now cast to the correct type per https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.1 (thanks @robinvdvleuten). When upgrading you must ensure that you do not depend on a specific type in the returned userinfo for any of the strategies listed below.
Breaking changes
Assent.Strategy.Auth0.authorize_url/2
no longer accepts:domain
config, use:base_url
instead #178Assent.Strategy.Basecamp.callback/2
now encodessub
as abinary()
instead of aninteger()
#167Assent.Strategy.Github.callback/2
now encodessub
as abinary()
instead of aninteger()
#167Assent.Strategy.Google
now encodesemail_verified
as aboolean()
instead of abinary()
#167Assent.Strategy.Google
now returnhd
instead ofgoogle_hd
#169Assent.Strategy.Strava.callback/2
now encodessub
as abinary()
instead of aninteger()
#167Assent.Strategy.Telegram.callback/2
now encodessub
as abinary()
instead of aninteger()
#167Assent.Strategy.Twitter.callback/2
now encodessub
as abinary()
instead of aninteger()
#167Assent.Strategy.VK.callback/2
now encodessub
as abinary()
instead of aninteger()
#167:site
configuration option removed, use:base_url
instead #174Assent.Strategy.OAuth2.authorize_url/2
no longer allows:state
in:authorization_params
#174Assent.Strategy.decode_response/2
removed, useAssent.HTTPAdapter.decode_response/2
instead #174Assent.Strategy.request/5
removed, useAssent.Strategy.http_request/5
instead #174Assent.Strategy.prune/1
removed #167Assent.MissingParamError
no longer accepts:expected_key
, use:key
instead #174Assent.HTTPAdapter.Mint
removed #174Assent.Config
removed #174
Changes
Assent.Strategy.Auth0
now uses OIDC instead of OAuth 2.0 base strategy #178Assent.Strategy.Gitlab
now uses OIDC instead of OAuth 2.0 base strategy #179Assent.Strategy.Google
now uses OIDC instead of OAuth 2.0 base strategy #169Assent.Strategy.normalize_userinfo/2
now casts the user claims per OpenID specification #167
v0.2.13
v0.2.12
v0.2.11
- Default to using
JSON
instead ofJason
for JSON parsing on Elixir 1.18 #161 Assent.Strategy.OAuth2
now supports:state
config option #162Assent.Strategy.OAuth2
:state
override in:authorization_parms
has been deprecated #162Assent.Strategy.OIDC
now supportsnone
authentication method #163 (thanks @tommasop)Assent.Strategy.Bitbucket
added #160 (thanks @djgoku)Assent.Strategy.Twitch
added #159 (thanks @s0er3n)Assent.Strategy.Telegram
added #152 (thanks @vheathen)Assent.Strategy.Zitadel
added #154 (thanks @tommasop)Assent.Strategy.Facebook.fetch_user/2
fixed bug with user not being decoded #168 (thanks @JohnDoneth)Assent.Strategy.OAuth2
now supports PKCE #164 (thanks @tommasop)Assent.Strategy.OAuth2.Base.authorize_url/2
incomplete typespec fixed #166 (thanks @diogomrts)Assent.Strategy.decode_response/2
deprecated accepting result tuples and now acceptsAssent.HTTPAdapter.HTTPResponse
structs #172Assent.Strategy.request/5
deprecated in favor ofAssent.Strategy.http_request/5
#175Assent.Strategy.decode_response/2
deprecated in favor ofAssent.HTTPAdapter.decode_response/2
#175Assent.Config.get/3
deprecated in favor ofKeyword.get/3
#175Assent.Config.put/3
deprecated in favor ofKeyword.put/3
#175Assent.Config.merge/2
deprecated in favor ofKeyword.merge/2
#175Assent.Config.t()
type deprecated in favor ofKeyword.t()
type #175Assent.Config.fetch/2
deprecated in favor ofAssent.fetch_config/2
#175
v0.2.10
v0.2.9
v0.2.8
Req
will be used by default if available in your project, otherwise :httpc
will be used. #139