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

Changelog History
Page 3

  • v0.2.1 Changes

    March 16, 2019
    • ๐Ÿ‘Œ Improve mix task instructions
  • v0.2.0 Changes

    March 09, 2019

    ๐Ÿ”„ Changes

    • Detached Plug from strategies
    • ๐Ÿšš Moved callback registration/session logic from plug to controllers
    • Allow for disabling registration by setting just pow_assent_authorize_routes/0 macro in router
    • Ensure only :pow_assent_params session value only can be read with the same provider param used for the callback
    • token now included in PowAssent.Strategy.OAuth.callback/2 response
    • Use account_already_bound_to_other_user/1 message for already taken user identity in PowAssent.Phoenix.RegistrationController

    โšก๏ธ Update your custom strategies

    โšก๏ธ Strategies no longer has access to a Plug.Conn struct. If you use a custom strategy, please update it so it reflects this setup:

    defmodule TestProvider do
      @behaviour PowAssent.Strategy
    
      @spec authorize_url(Keyword.t()) :: {:ok, %{url: binary()}} | {:error, term()}
      def authorize_url(config) do
        # Generate authorization url
      end
    
      @spec callback(Keyword.t(), map()) :: {:ok, %{user: map()}} | {:error, term()}
      def callback(config, params) do
        # Handle callback response
      end
    end
    
  • v0.1.0 Changes

    February 28, 2019
    • ๐ŸŽ‰ Initial release