Bot releases are hidden (Show)
Requires Elixir 1.13+
:base_url
not being ommitted when concatenating with relative path #150 (thanks @dtluther)Published by danschultzer 11 months ago
Req
was not used by default if included in project #143Assent.Strategy.Httpc.request/5
now sets content length header #144Published by danschultzer 11 months ago
Req
will be used by default if available in your project, otherwise :httpc
will be used. #139
Req
HTTP adapter added #139Req
supported by default as HTTP client #139:site
config in favor of :base_url
config #140Published by danschultzer about 1 year ago
Assent.Strategy.Strava
added #135Published by danschultzer about 1 year ago
Assent.HTTPAdapter.Finch
#124Assent.HTTPAdapter.Mint
#124Published by danschultzer about 1 year ago
Assent.Strategy.Spotify
added #132Published by danschultzer about 1 year ago
Assent.JWTAdapter.AssentJWT
where verified?
could be a {:error, term()}
tuple rather than boolean #130Published by danschultzer over 1 year ago
:castore
version requirement #117Assent.Strategy.Httpc.request/5
raises error when SSL certificate can't be validated #117Published by danschultzer over 1 year ago
Assent.Strategy.OIDC
now has support for multiple audiences #113Assent.Strategy.OIDC
now permits any auth method if no token_endpoint_auth_methods_supported
specified #116Assent.Strategy.Linkedin
added #115Published by danschultzer about 2 years ago
Jason
instead of Poison
for JSON parsing #107Bitwise
warning when running on Elixir 1.14 #106Published by danschultzer over 2 years ago
This release consists of breaking changes.
In previous Assent.Stategy.Slack
strategy, the sub
user id field consisted of {SUB}-{TEAM}
. Slack has migrated to OpenID Connect, and the response has been conformed to OIDC. The sub
will now only consists of the sub
id, and not include team id. To succesfullly migrate to this release all slack identity records storing the sub
user id field has to be updated.
If you wish to continue using the previous sub
user id a custom OIDC strategy can be used instead:
defmodule Slack do
use Assent.Strategy.OIDC.Base
alias Assent.Strategy.Slack
defdelegate default_config(config), to: Slack
def normalize(config, user) do
user = Map.put(user, "sub", "#{user["https://slack.com/user_id"]}-#{user["https://slack.com/team_id"]}")
Slack.normalize(config, user)
end
end
Assent.Strategy.OIDC.fetch_user/2
now removes the ID token specific keys from the user claims instead of normalizing #100Assent.Strategy.OIDC.Base
now adds normalize/2
to the macro that will include the full user claims in the user params #100Assent.Stategy.Slack
now uses OpenID connect instead of legacy OAuth 2.0, please note that the sub
value may have changed #97Published by danschultzer about 3 years ago
Assent.Strategy.OIDC
bug fixed so it handles unreachable urls correctly #95Published by danschultzer about 3 years ago
Assent.Strategy.OIDC
bug fixed for normalize/2
macro callback #92Published by danschultzer over 3 years ago
Assent.constant_time_compare/2
no longer outputs a deprecation warning for OTP 24 #87Published by danschultzer over 3 years ago
Assent.Strategy.Apple
has been fixed to handle the JSON encoded user in callback params #86Published by danschultzer over 3 years ago
Assent.Strategy.OIDC.Base.authorize_url/2
now has correct type specs #83Published by danschultzer over 3 years ago
Updated to support OTP 24 and no longer support OTP < 22.1 #80
Assent.Strategy.OIDC
now handles missing id_token
in token params #81Published by danschultzer over 3 years ago
Assent.Strategy.OAuth2.fetch_user/4
now accepts headers in arguments #77Assent.Strategy.AzureAD
bug fixed so it now uses the RS256
alg #78Published by danschultzer almost 4 years ago
Assent.Strategy.OAuth
now handles missing params in callback phase #75Assent.Strategy.Twitter
now handles access denied callback #75Published by danschultzer almost 4 years ago
Assent.Strategy.Stripe
added #70Assent.Strategy.to_url/3
now handles nested query params #70Assent.Strategy.OAuth2
no longer removes padding for base64 encoding authorization header #71Assent.Strategy.OIDC.validate_id_token/2
now supports dynamic OpenID configuration #73Assent.Strategy.OIDC.fetch_userinfo/2
now supports dynamic OpenID configuration #73