All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 2022-10-28 Dropped support for Elixir < 1.10. Dependencies (
:telemetry
and:mime
) would not compile.
- Support for
organization
andinvitation
query parameters - Bumped dependencies
- BREAKING CHANGE: changed error management on wrong OAuth code.
Instead of raising a
OAuth2.Error
, theconn.assigns.ueberauth_failure
is set with the following value:%Ueberauth.Failure.Error{ message: "Invalid authorization code", message_key: "invalid_grant" }
- Bumped dependencies
- BREAKING CHANGE: bump
ueberauth
to0.7.0
which provides default CSRF protection. In exchange for this new default protection, thestate
field is used byueberauth
to store the CSRF token. - Documentation improvements
- Adds query parameters used for the Universal Login:
screen_hint
,login_hint
andprompt
. See https://auth0.com/docs/universal-login/new-experience#signup
- BREAKING CHANGE: the
%Extra{}
field now copies the full raw auth0 user into%Extra{raw_info: %{user: auth0_user}}
instead of selected fields. This allows better usage with custom auth0 fields and other end-user customizations. (see PR #136) - The
%Extra{}
field now also contains the raw auth0 token (if you ever need it) under:token
in theraw_info
map. This better follows other ueberauth strategies and can be useful in some cases. - Bump dependencies
- Changes in the accepted params that can be given to the
:request
endpoint:audience
,state
,connection
andscope
. Corresponding default values have been added to the configuration options. - Improved error message on missing configuration.
- Adds
%Extra{}
data with all fields from/userinfo
mapped. - BREAKING CHANGE:
locale
data is now stored in the%Extra{}
field instead of the%Info{location: ...}
field - Bumped dependencies (earmark)
- Drops support for Elixir 1.4, 1.5 and 1.6
- Adds integration tests suite
deps
update
- Massive
deps
update, mainlyoauth2
.
Thanks @sobolevn for updating the followings:
- Changed the
uid_field
tosub
to match with the return from Auth0. - Included
profile
scope by default.
- Initial semantic release