Skip to content

Releases: pow-auth/assent

v0.2.4

20 Aug 17:59
Compare
Choose a tag to compare
  • Fixed bug in Assent.JWTAdapter.AssentJWT where verified? could be a {:error, term()} tuple rather than boolean #130
  • Improved message on private key file load error #131

v0.2.3

23 Mar 16:28
Compare
Choose a tag to compare
  • Removed :castore version requirement #117
  • Assent.Strategy.Httpc.request/5 raises error when SSL certificate can't be validated #117

v0.2.2

28 Feb 07:19
Compare
Choose a tag to compare
  • Fixed bug to handle 201 success response #112
  • Assent.Strategy.OIDC now has support for multiple audiences #113
  • Assent.Strategy.OIDC now permits any auth method if no token_endpoint_auth_methods_supported specified #116
  • Assent.Strategy.Linkedin added #115

v0.2.1

15 Sep 15:27
Compare
Choose a tag to compare
  • Default to using Jason instead of Poison for JSON parsing #107
  • Fixed Bitwise warning when running on Elixir 1.14 #106

v0.2.0

01 Mar 16:41
Compare
Choose a tag to compare

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 #100
  • Assent.Strategy.OIDC.Base now adds normalize/2 to the macro that will include the full user claims in the user params #100
  • Assent.Stategy.Slack now uses OpenID connect instead of legacy OAuth 2.0, please note that the sub value may have changed #97

v0.1.28

30 Sep 16:40
Compare
Choose a tag to compare
  • Assent.Strategy.OIDC bug fixed so it handles unreachable urls correctly #95

v0.1.27

21 Aug 17:37
ac8c092
Compare
Choose a tag to compare
  • Assent.Strategy.OIDC bug fixed for normalize/2 macro callback #92

v0.1.26

27 May 19:15
473f7ef
Compare
Choose a tag to compare
  • Assent.constant_time_compare/2 no longer outputs a deprecation warning for OTP 24 #87

v0.1.25

09 Apr 15:43
90da25f
Compare
Choose a tag to compare

Changes

  • Assent.Strategy.Apple has been fixed to handle the JSON encoded user in callback params #86

v0.1.24

22 Mar 16:52
2d5a793
Compare
Choose a tag to compare

Changes

  • Assent.Strategy.OIDC.Base.authorize_url/2 now has correct type specs #83