All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v4.0.1 (2024-06-11)
-
no need to
allow_nil_input
for an unaccepted field -
correctly generate sign-in tokens when requested.
-
ensure tenant is set when revoking tokens and on changeset for updating
-
broken links in readme (#692)
-
broken links
-
bug in tokens required verifier.
4.0.0 (2024-05-10)
-
Sign in tokens are enabled by default for the password strategy.
-
Tokens are now enabled by default.
-
Jwt: Include authentication interaction context when storing tokens.
-
Strategy.Password: Reset tokens are single use. (#625)
-
Confirmation: Only allow the confirmation token to be used once. (#623)
-
Only require tokens to be enabled when using a strategy which needs them.
-
OIDC: Adjust dsl of OIDC reflect assent requirements (#538)
-
Use
Ash
functions instead of generated domain functions.
v4.0.0-rc.7 (2024-05-10)
- Jwt: Include authentication interaction context when storing tokens.
- Only require tokens to be enabled when using a strategy which needs them.
v4.0.0-rc.6 (2024-04-11)
- OIDC: Adjust dsl of OIDC reflect assent requirements (#538)
v4.0.0-rc.5 (2024-04-10)
-
Sign in tokens are enabled by default for the password strategy.
-
Tokens are now enabled by default.
- Strategy.Password: Reset tokens are single use. (#625)
v4.0.0-rc.4 (2024-04-09)
- Use
Ash
functions instead of generated domain functions.
v4.0.0-rc.3 (2024-04-08)
- Confirmation: Only allow the confirmation token to be used once. (#623)
v4.0.0-rc.2 (2024-04-02)
- Update to support Ash 3.0. (#599)
-
allow future versions of ash rc
-
Jwt: Ignore pre-release versions verifying token versions.
- re-integrate ash_graphql and ash_json_api RCs.
v4.0.0-rc.1 (2024-04-01)
- re-integrate ash_graphql and ash_json_api RCs.
v4.0.0-rc.0 (2024-03-28)
- Update to support Ash 3.0. (#599)
- Jwt: Ignore pre-release versions verifying token versions.
v3.12.4 (2024-03-11)
- infer
api
from a resource
v3.12.3 (2024-02-20)
v3.12.2 (2024-01-30)
- deps: mark ash_postgres as optional
- support atom keys for uid in addition to strings (#556)
v3.12.1 (2024-01-25)
- support atom keys for uid in addition to strings (#556)
v3.12.0 (2023-11-21)
-
Add Google strategy (#474)
-
Add Google strategy
-
include Google strategy cheat sheet
-
Add documentation grouping for Google strategy
- Change redirect_uri secret to be more flexible (#473)
v3.11.16 (2023-10-25)
- Change overwriting of refresh_token to not overwrite them with nil (#483)
- Add id as an option for sourcing uid for UserIdentity (#481)
v3.11.15 (2023-09-22)
- ensure we aren't calling
Map.take
onnil
v3.11.14 (2023-09-22)
- TokenResource: don't silently drop notifications about token removal. (#432)
v3.11.13 (2023-09-22)
- Allow all token lifetimes to be specified with a time unit.
v3.11.12 (2023-09-21)
-
include
finch
in the dependencies. -
deprecated mint httpadapter (#425)
v3.11.11 (2023-09-21)
-
include
finch
in the dependencies. -
deprecated mint httpadapter (#425)
v3.11.10 (2023-09-18)
- only use sign in token expiration for sign in tokens (#424)
v3.11.9 (2023-09-17)
- support generating tokens for other strategies.
-
support generating sign in tokens on register (#421)
-
support generating sign in tokens on register
v3.11.8 (2023-08-16)
- correct spec for
Jwt.token_for_user
(#389)
v3.11.7 (2023-07-14)
- ensure that the
current_
atom exists at compile time. (#359)
v3.11.6 (2023-06-23)
- fix Logger deprecations for elixir 1.15 (#343)
v3.11.5 (2023-06-18)
- ConfirmationHookChange: use
Info.find_strategy/2..3
rather than a hard coded strategy name. (#336)
v3.11.4 (2023-06-15)
- primary keys are implicitly uniquely constrained. (#333)
v3.11.3 (2023-05-31)
- duplicate mime type for "json".
v3.11.2 (2023-05-28)
- Strategy.Password: Preparations should allow strategy to be passed in. (#314)
v3.11.1 (2023-05-04)
- correct oauth2 and getting started typos (#267)
v3.11.0 (2023-05-04)
-
OpenID Connect Strategy (#197)
-
AshAuthentication.Strategy.Oidc: Add OpenID Connect strategy.
v3.10.8 (2023-04-28)
- PasswordValidation should associate errors with the field being � (#279)
v3.10.7 (2023-04-28)
- run CI on pull requests
v3.10.6 (2023-04-09)
- require spark ~> 1.0 (#261)
v3.10.5 (2023-04-06)
-
add sign in tokens to password strategy (#252)
-
add sign in tokens to password strategy
-
convert
sign_in_with_token
into an action.
v3.10.4 (2023-04-03)
-
update spark (#254)
-
update spark
v3.10.3 (2023-04-03)
-
update spark (#254)
-
update spark
v3.10.2 (2023-03-06)
- respect
identity_relationship_user_id_attribute
onStrategy.OAuth2.IdentityChange
(#213)
v3.10.1 (2023-03-06)
- fix failing JWT tests because of bad version regex.
v3.10.0 (2023-03-04)
- Configure accepted fields on register (#219)
v3.9.6 (2023-03-01)
- allow registration and sign in to be disabled on password strategies. (#218)
v3.9.5 (2023-02-23)
- support multiple otp apps w/resources (#209)
v3.9.4 (2023-02-22)
- PasswordConfirmationValidation: allow
strategy_name
to be passed as an option. (#208)
v3.9.3 (2023-02-19)
- sign in preparation without identity resource (#198)
v3.9.2 (2023-02-12)
- Password.Transformer: don't force users to define a
hashed_password
argument to the register action. (#192)
v3.9.1 (2023-02-12)
-
select
hashed_password
on sign in preparation -
don't allow special purpose tokens to be used for sign in. (#191)
-
add select_for_senders (#189)
-
add select_for_senders
-
include metadata declaration on register action
v3.9.0 (2023-02-09)
- Add new "magic link" authentication strategy. (#184)
-
validate uniqueness of strategy names. (#185)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
Strategy.Custom: handle custom strategies as extensions. (#183)
-
improve error message for badly formed token secrets (#181)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.8.0 (2023-02-09)
- Add new "magic link" authentication strategy. (#184)
-
validate uniqueness of strategy names. (#185)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
Strategy.Custom: handle custom strategies as extensions. (#183)
-
improve error message for badly formed token secrets (#181)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.9 (2023-02-09)
-
validate uniqueness of strategy names. (#185)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
Strategy.Custom: handle custom strategies as extensions. (#183)
-
improve error message for badly formed token secrets (#181)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.8 (2023-02-08)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
Strategy.Custom: handle custom strategies as extensions. (#183)
-
improve error message for badly formed token secrets (#181)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.7 (2023-02-06)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
improve error message for badly formed token secrets (#181)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.6 (2023-01-30)
-
resources can appear in multiple apis, so we need to uniq them here (#169)
-
put_add_on/2 was putting into strategies
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.5 (2023-01-30)
-
add metadata declarations to actions that have a
token
(#164) -
validate signing secret is a string (#163)
v3.7.4 (2023-01-30)
- validate signing secret is a string (#163)
v3.7.3 (2023-01-18)
- Password: validate fields using both methods of allowing nil input. (#151)
v3.7.2 (2023-01-18)
- AuthenticationFailed: store a
caused_by
value in authentication failures. (#145)
v3.7.1 (2023-01-18)
- update ash & switch to new docs patterns (#146)
v3.7.0 (2023-01-18)
- PasswordValidation: Add a validation which can check a password. (#144)
v3.6.1 (2023-01-15)
-
don't call
hash_provider.valid?
onnil
values (#135) -
use configured hashed_password_field
-
set confirmed field to
nil
, for reconfirmation (#136) -
set confirmed field to
nil
, for reconfirmation -
only change
confirmed_at_field
if its not changing, and only on updates
v3.6.0 (2023-01-13)
-
TokenResource: Store the token subject in the token resource. (#133)
-
TokenResource: Store the token subject in the token resource.
-
don't call
hash_provider.valid?
onnil
values (#135) -
use configured hashed_password_field
v3.5.3 (2023-01-13)
- Confirmation: send the original changeset to confirmation senders. (#132)
v3.5.2 (2023-01-12)
- add user context when creating tokens (#129)
v3.5.1 (2023-01-12)
- missing icons in OAuth2 strategies. (#126)
v3.5.0 (2023-01-12)
- GitHub: Add GitHub authentication strategy. (#125)
v3.4.2 (2023-01-12)
- improve some error message/validation logic
-
add policy utilities and accompanying guide (#119)
-
add policy utilities and accompanying guide
-
fix build/warnings/dialyzer/format
v3.4.1 (2023-01-12)
- Confirmation: correctly generate confirmation token subjects. (#124)
v3.4.0 (2023-01-11)
- Add token-required-for-authentication feature. (#116)
v3.3.1 (2023-01-09)
- Set Ash actor and tenant when executing internal plugs. (#115)
v3.3.0 (2023-01-09)
- Make strategy names optional where possible. (#113)
v3.2.2 (2023-01-08)
- Allow the strategy name to be passed for password validations and changes. (#102)
v3.2.1 (2022-12-16)
- add
icon
field to OAuth2 strategy. (#100)
v3.2.0 (2022-12-16)
- Auth0: Add a pre-configured Auth0 strategy. (#99)
v3.1.0 (2022-12-14)
- Jwt: Use token signing secret into the DSL.
- Add option to store all tokens when they're created. (#91)
-
remove the need for a strategy in changeset/query contexts. (#89)
-
add transaction reason
-
try a simpler way of ensuring module is compiled
v3.0.4 (2022-12-08)
- update to latest ash version
v3.0.3 (2022-12-07)
- break potential compiler dependency loops. (#64)
v3.0.2 (2022-12-05)
- supervisor: require that the user adds the supervisor to their OTP app. (#62)
v3.0.1 (2022-12-05)
- actions: All actions now take optional arguments for the underlying API call. (#61)
v3.0.0 (2022-12-04)
- TokenResource: Move
TokenRevocation
->TokenResource
.
- Confirmation: Store confirmation changes in the token resource.
v2.0.1 (2022-11-24)
-
Confirmation: Confirmation is not a strategy. (#46)
-
Confirmation: Confirmation is not a strategy.
-
Confirmation: Support more than one confirmation entity.
v2.0.0 (2022-11-22)
- Major redesign of DSL and code structure. (#35)
v1.0.0 (2022-11-15)
- OAuth2Authentication: Make the
site
option runtime configurable. (#31)
v0.6.1 (2022-11-15)
- OAuth2Authentication: Return the failure reason even if it's not a changeset. (#29)
v0.6.0 (2022-11-10)
- OAuth2Authentication: Add support for generic OAuth2 endpoints. (#28)
v0.5.0 (2022-11-04)
- Confirmation: Add extension that allows a user to be confirmed when created or updated. (#27)
v0.4.3 (2022-11-03)
- docs: Improve endpoint docs for PasswordAuthentication and PasswordReset.
v0.4.2 (2022-11-03)
-
PasswordReset: Generate the reset token using the target action, not the source action. (#25)
-
PasswordReset: Generate the reset token using the target action, not the source action.
- PasswordReset: rework PasswordReset to be a provider in it's own right - this means it has it's own routes, etc.
v0.4.1 (2022-11-03)
- PasswordReset: A reset request is actually a query, not an update. (#23)
v0.4.0 (2022-11-02)
- PasswordReset: allow users to request and reset their password. (#22)
v0.3.0 (2022-10-31)
-
Ash.PlugHelpers: Support standard actor configuration. (#16)
-
Ash.PlugHelpers: Support standard actor configuration.
- docs: change all references to
actor
touser
.
v0.2.1 (2022-10-26)
- deprecation warnings caused by use of
Macro.expand_literal/2
.
-
move subject_name uniqueness validation to compile time.
-
remove
generated: true
from macros.
v0.2.0 (2022-10-24)
- PasswordAuthentication: Registration and authentication with local credentials (#4)