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. 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.
Assent.Strategy.Auth0.authorize_url/2
no longer accepts:domain
config, use:base_url
insteadAssent.Strategy.Basecamp.callback/2
now encodessub
as abinary()
instead of aninteger()
Assent.Strategy.Github.callback/2
now encodessub
as abinary()
instead of aninteger()
Assent.Strategy.Google
now encodesemail_verified
as aboolean()
instead of abinary()
Assent.Strategy.Google
now returnhd
instead ofgoogle_hd
Assent.Strategy.Strava.callback/2
now encodessub
as abinary()
instead of aninteger()
Assent.Strategy.Telegram.callback/2
now encodessub
as abinary()
instead of aninteger()
Assent.Strategy.Twitter.callback/2
now encodessub
as abinary()
instead of aninteger()
Assent.Strategy.VK.callback/2
now encodessub
as abinary()
instead of aninteger()
:site
configuration option removed, use:base_url
insteadAssent.Strategy.OAuth2.authorize_url/2
no longer allows:state
in:authorization_params
Assent.Strategy.decode_response/2
removed, useAssent.HTTPAdapter.decode_response/2
insteadAssent.Strategy.request/5
removed, useAssent.Strategy.http_request/5
insteadAssent.Strategy.prune/1
removedAssent.MissingParamError
no longer accepts:expected_key
, use:key
insteadAssent.HTTPAdapter.Mint
removedAssent.Config
removed
Assent.Strategy.Auth0
now uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.Gitlab
now uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.Google
now uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.normalize_userinfo/2
now casts the user claims per OpenID specification
The CHANGELOG for v0.2 releases can be found in the v0.2 branch.