Now requires Elixir 1.15 / OTP 26.
Assent.HTTPAdapter.Finchremoved
:inetsis now started automatically byAssent, and no longer required in:extra_applicationsAssent.JWTAdapter.AssentJWTnow supports EdDSA algorithmsAssent.JWTAdapter.AssentJWTnow supports EC JWKsAssent.Strategy.OIDCno longer rejects a:client_authentication_methodmissing from the provider'stoken_endpoint_auth_methods_supportedAssent.Strategy.OIDCaccepts additional ID Token issuers via the:trusted_issuersconfig optionAssent.Strategy.Facebooknow requests the userpicturefield
Assent.Strategy.OAuthno longer lowercases the request path for signature base string, per RFC 5849 3.4.1.2Assent.HTTPAdapter.Reqnow returns the response headers instead of the request headers
Assent.JWTAdapter.AssentJWTfixed padding issue with ECDSA that caused invalid signatures
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/2no longer accepts:domainconfig, use:base_urlinsteadAssent.Strategy.Basecamp.callback/2now encodessubas abinary()instead of aninteger()Assent.Strategy.Github.callback/2now encodessubas abinary()instead of aninteger()Assent.Strategy.Googlenow encodesemail_verifiedas aboolean()instead of abinary()Assent.Strategy.Googlenow returnhdinstead ofgoogle_hdAssent.Strategy.Strava.callback/2now encodessubas abinary()instead of aninteger()Assent.Strategy.Telegram.callback/2now encodessubas abinary()instead of aninteger()Assent.Strategy.Twitter.callback/2now encodessubas abinary()instead of aninteger()Assent.Strategy.VK.callback/2now encodessubas abinary()instead of aninteger():siteconfiguration option removed, use:base_urlinsteadAssent.Strategy.OAuth2.authorize_url/2no longer allows:statein:authorization_paramsAssent.Strategy.decode_response/2removed, useAssent.HTTPAdapter.decode_response/2insteadAssent.Strategy.request/5removed, useAssent.Strategy.http_request/5insteadAssent.Strategy.prune/1removedAssent.MissingParamErrorno longer accepts:expected_key, use:keyinsteadAssent.HTTPAdapter.MintremovedAssent.Configremoved
Assent.Strategy.Auth0now uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.Gitlabnow uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.Googlenow uses OIDC instead of OAuth 2.0 base strategyAssent.Strategy.normalize_userinfo/2now casts the user claims per OpenID specification
The CHANGELOG for v0.2 releases can be found in the v0.2 branch.