ash_authentication/CHANGELOG.md

888 lines
24 KiB
Markdown
Raw Permalink Normal View History

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