All Versions
23
Latest Version
Avg Release Cycle
52 days
Latest Release
959 days ago

Changelog History
Page 2

  • v0.4.3 Changes

    November 20, 2019

    ๐Ÿ”„ Changes

    • Removed :phoenix_html dependency requirement #104
    • โž• Added Pow minimum requirement ~> 1.0.15 #107
    • ๐Ÿ‘‰ Use Pow.Extension.Base macro for new extension setup #107
  • v0.4.2 Changes

    November 13, 2019

    ๐Ÿ”„ Changes

    • โž• Added support for POST callback from provider: #101
      • Added pow_assent_authorization_post_callback_routes/0 macro to PowAssent.Phoenix.Router
      • Added :skip_csrf_protection pipeline example and scope with pow_assent_authorization_post_callback_routes/0 call to the docs
      • Use Pow.Phoenix.Router macros to dynamically filter duplicate routes
  • v0.4.1 Changes

    October 08, 2019

    ๐Ÿ”„ Changes

    • Use Assent v0.1.2 and set :redirect_uri in config for OAuth 2.0 callback phase #97
  • v0.4.0 Changes

    October 06, 2019

    This release consists of major breaking changes.

    ๐Ÿ”ง You'll have to change the :strategy setting in your provider configurations. For the most part it would just consists of renaming PowAssent.Strategy.STRATEGY to Assent.Strategy.STRATEGY.

    If you have custom built strategies, you should can use Assent.Strategy.normalize_userinfo/2 to conform the userinfo response from the API. sub is now expected instead of uid.

    ๐Ÿ”„ Changes

    Ref: #95

    ๐Ÿ“ฆ Use :assent package for strategies. The following modules has been removed in favor of Assent modules:

    • PowAssent.CallbackError
    • PowAssent.CallbackCSRFError
    • PowAssent.RequestError
    • PowAssent.ConfigurationError
    • PowAssent.HTTPAdapter
    • PowAssent.HTTPAdapter.Httpc
    • PowAssent.HTTPAdapter.Mint
    • PowAssent.Strategy.Auth0
    • PowAssent.Strategy.AzureOAuth2
    • PowAssent.Strategy.Basecamp
    • PowAssent.Strategy.Discord
    • PowAssent.Strategy.Facebook
    • PowAssent.Strategy.Github
    • PowAssent.Strategy.Gitlab
    • PowAssent.Strategy.Google
    • PowAssent.Strategy.Instagram
    • PowAssent.Strategy.OAuth
    • PowAssent.Strategy.OAuth.Base
    • PowAssent.Strategy.OAuth2
    • PowAssent.Strategy.OAuth2.Base
    • PowAssent.Strategy.Slack
    • PowAssent.Strategy.Twitter
    • PowAssent.Strategy.VK

    - PowAssent.Strategy

    Callback params now conforms to OpenID Connect Core 1.0 Standard Claims spec. During the callback phase, the following param keys will be renamed:

    • sub to uid

    - preferred_username to username

    The e-mail is no longer considered confirmed unless the callback params has an email_verified key set to true

    ๐Ÿ”ง PowAssent.Plug.authorize_url/3 generates a random nonce if nonce: true is set in the provider configuration

    ๐Ÿ‘Œ Support for OpenID Connect and Apple Sign In through Assent

  • v0.3.2 Changes

    August 25, 2019

    ๐Ÿ”„ Changes

    • ๐Ÿ“„ All links in docs generated with mix docs and on hexdocs.pm now works (7d66e11)
    • ๐Ÿ“„ Generated docs now uses lower case file name except for README and CHANGELOG (7d66e11)
    • โž• Added Auth0 strategy #81
    • โž• Added Gitlab strategy #83
  • v0.3.1 Changes

    June 05, 2019
    • โž• Added Pow minimum requirement ~> 1.0.9
    • โž• Added repo :prefix support
    • โšก๏ธ User identities are now upserted on authorization so additional params can be updated on authorization request. Following methods has been deprecated:
      • PowAssent.Ecto.UserIdentities.Context.create/3 in favor of PowAssent.Ecto.UserIdentities.Context.upsert/3
      • MyApp.UserIdentities.create/2 in favor of MyApp.UserIdentities.upsert/2
      • MyApp.UserIdentities.pow_assent_create/2 in favor of MyApp.UserIdentities.upsert/2
      • PowAssent.Operations.create/3 in favor of PowAssent.Operations.upsert/3
      • PowAssent.Plug.create_identity/2 in favor of PowAssent.Plug.upsert_identity/2
    • ๐Ÿ‘‰ Use Pow.Plug.get_plug/1 instead of pulling :mod from the config
    • ๐Ÿ›  Fixed so uid can be an integer value in PowAssent.Ecto.UserIdentities.Context. Strategies are no longer expected to convert the uid value to binary. The following methods will accepts integer uid:
      • PowAssent.Ecto.UserIdentities.Context.get_user_by_provider_uid/3
      • PowAssent.Ecto.UserIdentities.Context.upsert/3
      • PowAssent.Ecto.UserIdentities.Context.create_user/4
    • ๐Ÿ›  Fixed bug where invited user was not signed in after succesful authorization
    • ๐Ÿ›  Fixed bug where releases with Elixir 1.9.0 didn't have :httpc available
  • v0.3.0 Changes

    May 19, 2019
    • ๐Ÿ”— Added PowAssent.Phoenix.ViewHelpers.authorization_link/2 and PowAssent.Phoenix.ViewHelpers.deauthorization_link/2
    • โœ‚ Removed PowAssent.Phoenix.ViewHelpers.provider_link/3
    • โšก๏ธ Rewritten plug methods and controller handling so they now pass through additional params such as access token. This makes it possible to e.g. capture access tokens. Now there is a clear distinction between user identity params and user params, and most methods now accepts or returns two separate params. Following methods updated:
      • MyApp.UserIdentities.create/3 changed to MyApp.UserIdentities.create/2
      • MyApp.UserIdentities.pow_assent_create/3 changed to MyApp.UserIdentities.pow_assent_create/2
      • PowAssent.Ecto.UserIdentities.Context.create/4 changed to PowAssent.Ecto.UserIdentities.Context.create/3
      • MyApp.UserIdentities.create_user/4 changed to MyApp.UserIdentities.create_user/3
      • MyApp.UserIdentities.pow_assent_create_user/4 changed to MyApp.UserIdentities.pow_assent_create_user/3
      • PowAssent.Ecto.UserIdentities.Context.create_user/5 changed to PowAssent.Ecto.UserIdentities.Context.create_user/4
      • PowAssent.Operations.create/4 changed to PowAssent.Operations.create/3
      • PowAssent.Operations.create_user/5 changed to PowAssent.Operations.create_user/4
      • PowAssent.Plug.callback/4 now returns a tuple with {:ok, user_identity_params, user_params, conn}
      • PowAssent.Plug.authenticate/3 changed to PowAssent.Plug.authenticate/2
      • PowAssent.Plug.create_identity/3 changed to PowAssent.Plug.create_identity/2
      • PowAssent.Plug.create_user/4 now accepts user_identity_params instead of provider as second argument
      • PowAssent.Plug.create_user/4 now expects user_identity_params rather than provider as second argument
  • v0.2.4 Changes

    April 25, 2019
    • ๐Ÿ›  Fixed so OAuth 2.0 access token request params are in the POST body in accordance with RFC 6749
  • v0.2.3 Changes

    April 09, 2019
    • โž• Added :authorization_params config option to PowAssent.Strategy.OAuth
    • ๐Ÿ”Œ Plug and Phoenix controller now handles :session_params rather than :state for any params that needs to be stored temporarily during authorization
    • Added handling of oauth_token_secret to OAuth strategies
    • ๐Ÿ‘Œ Support any :plug version below 2.0.0
    • ๐Ÿ›  Fixed bug in mix pow_assent.ecto.gen.migration task where --binary-id flag didn't generate correct migration
    • ๐Ÿ‘Œ Support :pow version 1.0.5
  • v0.2.2 Changes

    March 25, 2019
    • ๐Ÿ›  Fixed issue where user couldn't be created when PowEmailConfirmation was enabled