Skip to content

Releases: danschultzer/ex_oauth2_provider

v0.4.2

09 Aug 14:35
Compare
Choose a tag to compare

Changes

  • Support custom belongs_to options for resource owner #39

v0.4.1

01 Aug 19:47
Compare
Choose a tag to compare

Changes

  • Elixir 1.7 support #37

v0.4.0

05 Jul 00:52
11b9e71
Compare
Choose a tag to compare

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

  • OauthAccessTokens.get_active_tokens_for/1 removed 7168670
  • OauthAccessTokens.get_or_create_token/2 changed so it expects application and scopes as arguments #34

v0.3.3

03 Jul 22:20
Compare
Choose a tag to compare

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

02 Apr 17:22
Compare
Choose a tag to compare

Bug fixes

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

v0.3.1

29 Mar 22:37
Compare
Choose a tag to compare

Changes

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

v0.3.0

27 Mar 01:25
Compare
Choose a tag to compare

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

26 Mar 06:31
Compare
Choose a tag to compare

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

13 Feb 01:31
Compare
Choose a tag to compare

Bug fixes

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

v0.2.1

12 Feb 15:37
Compare
Choose a tag to compare

Changes

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