Making OAuth 2 provider and authentication with http bearer as simple as possible for Elixir and Phoenix apps
The whole library has been refactored to make it easier to work with. alias
is preferred instead of import
.
jason
instead of poison
is now used as the JSON parser #35OauthAccessTokens.get_active_tokens_for/1
removed https://github.com/danschultzer/ex_oauth2_provider/commit/716867075a4cf83648bdd21a7eb7112b8c03926e
OauthAccessTokens.get_or_create_token/2
changed so it expects application and scopes as arguments #34OauthAccessToken.get_matching_token_for/3
#32OauthAccessToken.get_matching_token_for/3
#30OauthAccessTokens.get_active_tokens_for/1
has been deprecated in favor of OauthAccessTokens.get_authorized_tokens_for/1
#30resource_owner
with :uuid
type now works (#21)--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)