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/2no longer accepts:domainconfig, use:base_urlinstead #178Assent.Strategy.Basecamp.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Github.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Googlenow encodesemail_verifiedas aboolean()instead of abinary()#167Assent.Strategy.Googlenow returnhdinstead ofgoogle_hd#169Assent.Strategy.Strava.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Telegram.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Twitter.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.VK.callback/2now encodessubas abinary()instead of aninteger()#167:siteconfiguration option removed, use:base_urlinstead #174Assent.Strategy.OAuth2.authorize_url/2no longer allows:statein:authorization_params#174Assent.Strategy.decode_response/2removed, useAssent.HTTPAdapter.decode_response/2instead #174Assent.Strategy.request/5removed, useAssent.Strategy.http_request/5instead #174Assent.Strategy.prune/1removed #167Assent.MissingParamErrorno longer accepts:expected_key, use:keyinstead #174Assent.HTTPAdapter.Mintremoved #174Assent.Configremoved #174
Changes
Assent.Strategy.Auth0now uses OIDC instead of OAuth 2.0 base strategy #178Assent.Strategy.Gitlabnow uses OIDC instead of OAuth 2.0 base strategy #179Assent.Strategy.Googlenow uses OIDC instead of OAuth 2.0 base strategy #169Assent.Strategy.normalize_userinfo/2now casts the user claims per OpenID specification #167