Ex Oauth2 Provider Versions Save

Making OAuth 2 provider and authentication with http bearer as simple as possible for Elixir and Phoenix apps

v0.4.2

5 years ago

Changes

  • Support custom belongs_to options for resource owner #39

v0.4.1

5 years ago

Changes

  • Elixir 1.7 support #37

v0.4.0

5 years ago

The whole library has been refactored to make it easier to work with. alias is preferred instead of import.

Changes

  • jason instead of poison is now used as the JSON parser #35

Bug fixes

  • Fixed bug where it was possible to revoke other applications access token #30

Not backwards compatible changes

v0.3.3

5 years ago

Bug fixes

  • Different scoped access tokens can be accessed with OauthAccessToken.get_matching_token_for/3 #32
  • Expired tokens no longer returned with OauthAccessToken.get_matching_token_for/3 #30

Deprecations

  • OauthAccessTokens.get_active_tokens_for/1 has been deprecated in favor of OauthAccessTokens.get_authorized_tokens_for/1 #30

v0.3.2

6 years ago

Bug fixes

  • Applications with empty string secret couldn't be saved #29

v0.3.1

6 years ago

Changes

  • Permit empty string to be used as secret in ExOauth2Provider.OauthApplications.application_changeset/2 #27

v0.3.0

6 years ago

Changes

  • Better handling of UUID (#24)
    • The app will compile out of the box when following the readme
    • foreign_key_type is defined in the config instead of auto detected (since the User module will always be compiled after dependencies)
    • UUID schema macro now included for easy :uuid primary keys tables

v0.2.3

6 years ago

Changes

  • Relax requirement for Ecto (#22)
  • Permit custom schema modules to be used (#21)
  • Loads association keys dynamically (#22)
  • resource_owner with :uuid type now works (#21)
  • Mix argument --uuid TABLES will generate migration file for the tables with UUID support. resource_owner will only set the owner associations to :uuid type, all will change all tables to use :uuid as primary key and association key type (#21)

v0.2.2

6 years ago

Bug fixes

  • Errors are now handled correctly in AuthorizationCode and RefreshToken strategies #19

v0.2.1

6 years ago

Changes

  • client_secret is now be an optional param for authentication #17