An Elixir OAuth 2.0 Client Library
Full Changelog: https://github.com/ueberauth/oauth2/compare/v2.0.1...v2.1.0
Full Changelog: https://github.com/ueberauth/oauth2/compare/v2.0.0...v2.0.1
application/json
. Please make
sure to register a serializer with OAuth2.Client.put_serializer/3
.OAuth2.Client.put_serializer/3
.
This change allows applications wrapping oauth2
a way to provide default
serializers without requiring the user to manually configure a serializer.hackney
to 1.7
Diff: https://github.com/scrogson/oauth2/compare/v0.9.0...v0.9.1
Behaviour
and defcallback
request_opts
that will be used on
every request. This is useful for configuring SSL options, etc.hackney
s streaming of responses.400..599
will now return {:error, %OAuth2.Response{}}
instead of {:ok, %OAuth2.Response{}}
!
versions of functions, {:error, %OAuth2.Response{}}
will
be converted to an %OAuth2.Error{}
and raised.Diff: https://github.com/scrogson/oauth2/compare/v0.8.3...v0.9.0