# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.

<!-- changelog -->

## [v2.4.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.4.1...v2.4.2) (2024-12-20)




### Bug Fixes:

* Set the expected message in failure function generators. (#550)

### Improvements:

* make igniter optional

* update message with helpful instructions

## [v2.4.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.4.0...v2.4.1) (2024-12-12)




### Improvements:

* provide better error message on hijack protection

* Pass opts of plugs to retrieve helpers (#546)

## [v2.4.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.3.0...v2.4.0) (2024-12-05)




### Improvements:

* update to latest phoenix_live_view 1.0

## [v2.3.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.2.1...v2.3.0) (2024-11-26)

### Features:

- Add override for identity input placeholder (#538)

- Add action-specific flash messages to the generated AuthController (#532)

### Bug Fixes:

- handle tenant-specific query in Password Reset Form handle_event/3 (#537)

- Apply overrides to password reset update form (#529)

## [v2.2.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.2.0...v2.2.1) (2024-11-13)

### Bug Fixes:

- Components.Password.ResetForm: Handle the fact that we now ask users to use a generic action. (#531)

## [v2.2.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.11...v2.2.0) (2024-11-05)

### Features:

- Slack: Add icon for Slack strategy. (#524)

## [v2.1.11](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.10...v2.1.11) (2024-10-31)

### Improvements:

- validate each form on submit to avoid warning

## [v2.1.10](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.9...v2.1.10) (2024-10-24)

### Bug Fixes:

- ensure current_tenant is set

- pass tenant as option instead of before_submit

## [v2.1.9](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.8...v2.1.9) (2024-10-15)

### Bug Fixes:

- ensure browser pipeline is added to installer

## [v2.1.8](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.7...v2.1.8) (2024-10-14)

### Bug Fixes:

- properly parse flag options

## [v2.1.7](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.6...v2.1.7) (2024-10-14)

### Improvements:

- set a `group` on install task

## [v2.1.6](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.5...v2.1.6) (2024-10-14)

### Bug Fixes:

- don't pass api option to forms

## [v2.1.5](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.4...v2.1.5) (2024-10-11)

### Improvements:

- recommend a single ash_authentication_live_session in installer

- log a warning on failure to create a magic link

## [v2.1.4](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.3...v2.1.4) (2024-10-08)

### Improvements:

- generate overrides module in installer

## [v2.1.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.2...v2.1.3) (2024-10-06)

### Improvements:

- `mix igniter.install ash_authentication_phoenix` (#504)

## [v2.1.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.1...v2.1.2) (2024-09-23)

### Bug Fixes:

- apply `auth_routes_prefix` logic to `reset_route` as well

## [v2.1.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.1.0...v2.1.1) (2024-09-03)

### Bug Fixes:

- ensure that params are sent when using route helpers

## [v2.1.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.2...v2.1.0) (2024-09-01)

### Features:

- Dynamic Router + compile time dependency fixes (#487)

### Bug Fixes:

- check strategy module instead of name

- ensure path params are processed on strategy router

- Re-link form labels and form inputs on Password strategy forms (#494)

- Restore linkage between form inputs and form fields on Password strategy form

- Use separate override labels for Password and Password Confirmation fields

- only scope reset/register paths if they are set

- Ensure session respects router scope when using sign_in_route helper (#490)

### Improvements:

- add button for the Apple strategy (#482)

- add apple component

- pass context down to all actions

- create a new dynamic router, and avoid other compile time dependencies

## [v2.0.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.1...v2.0.2) (2024-08-05)

### Bug Fixes:

- use any overridden value, including `nil` or `false` (#476)

- set tenant in sign_in and reset_route (#478)

### Improvements:

- Added overrides for identity (email) and password fields. (#477)

## [v2.0.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.0...v2.0.1) (2024-07-10)

### Improvements:

- fix deprecation warnings about live_flash/2.

## [v2.0.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.0-rc.3...v2.0.0) (2024-05-10)

### Bug Fixes:

- set tenant on form creation

## [v2.0.0-rc.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-05-10)

### Bug Fixes:

- set tenant on form creation

## [v2.0.0-rc.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-04-13)

### Bug Fixes:

- show password strategy message if `field` is `nil`

## [v2.0.0-rc.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2024-04-02)

### Breaking Changes:

- Update to support Ash 3.0, et al.

### Bug Fixes:

- loosen rc requirements

- Fix typos in override class names

- honour the error field in AuthenticationFailed errors in forms. (#368)

- Ensure that `sign_in_route` and `reset_route` correctly initialise session. (#369)

## [v2.0.0-rc.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.9.4...v2.0.0-rc.0) (2024-04-01)

### Breaking Changes:

- Update to support Ash 3.0, et al.

## [v1.9.4](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.9.3...v1.9.4) (2024-03-06)

### Bug Fixes:

- Fix typos in override class names

## [v1.9.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.9.2...v1.9.3) (2024-03-05)

### Bug Fixes:

- Fix typos in override class names

## [v1.9.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.9.1...v1.9.2) (2024-02-02)

### Bug Fixes:

- Ensure that `sign_in_route` and `reset_route` correctly initialise session. (#369)

## [v1.9.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.9.0...v1.9.1) (2024-01-21)

## [v1.9.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.7...v1.9.0) (2023-11-13)

### Features:

- Add rendering of flash messages from live components

## [v1.8.7](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.6...v1.8.7) (2023-10-26)

### Bug Fixes:

- Pass tenant to generated Live View forms (#310)

- pull assign out of other flow

- sets a nil value in assigns for :current_tenant in subcomponents if not already set

## [v1.8.6](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.5...v1.8.6) (2023-10-25)

### Bug Fixes:

- incorrect introspection target in password strategy. (#317)

## [v1.8.5](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.4...v1.8.5) (2023-10-06)

### Bug Fixes:

- properly navigate back to root component when routes are not set (#296)

## [v1.8.4](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.3...v1.8.4) (2023-10-01)

### Improvements:

- optional support for routing to register & reset links (#281)

## [v1.8.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.2...v1.8.3) (2023-09-23)

### Bug Fixes:

- resettable is no longer a list

## [v1.8.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.1...v1.8.2) (2023-09-22)

### Bug Fixes:

- handle change from ash_authentication where resettable is no lonâ¦ (#279)

## [v1.8.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.8.0...v1.8.1) (2023-09-18)

### Improvements:

- submit form in-line when sign_in_tokens_enabled (#274)

- submit form in-line when sign_in_tokens_enabled

## [v1.8.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.7.3...v1.8.0) (2023-09-14)

### Features:

- change `ash_authentication_live_session` to use `assign_new` (#270)

## [v1.7.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.7.2...v1.7.3) (2023-08-09)

### Bug Fixes:

- Overrides in reset route (#250)

## [v1.7.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.7.1...v1.7.2) (2023-04-16)

### Improvements:

- Add OIDC and generic "lock" icons.

## [v1.7.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.7.0...v1.7.1) (2023-04-12)

### Bug Fixes:

- backwards compat with sign_in_tokens_enabled?

## [v1.7.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.6...v1.7.0) (2023-04-06)

### Features:

- support new sign in tokens feature on password strategy (#176)

## [v1.6.6](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.5...v1.6.6) (2023-03-31)

### Bug Fixes:

- better behavior when password registration disabled

- only show register page if register is enabled

- resolve issues w/ assigning socket & test helper flash

## [v1.6.5](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.4...v1.6.5) (2023-03-26)

### Bug Fixes:

- better behavior when password registration disabled

- only show register page if register is enabled

- resolve issues w/ assigning socket & test helper flash

## [v1.6.4](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.3...v1.6.4) (2023-03-14)

### Bug Fixes:

- always set `tenant` session

## [v1.6.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.2...v1.6.3) (2023-03-13)

### Bug Fixes:

- always set `tenant` session

## [v1.6.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.1...v1.6.2) (2023-03-06)

### Bug Fixes:

- add `phoenix_view` to dependencies. (#153)

## [v1.6.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.6.0...v1.6.1) (2023-03-01)

### Improvements:

- allow folks to disable togglers by setting their text to `nil`.

## [v1.6.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.5.1...v1.6.0) (2023-02-27)

### Features:

- Allow on_mount for reset_routes for browser testing (#139)

## [v1.5.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.5.0...v1.5.1) (2023-02-24)

### Improvements:

- configurable otp app (#135)

## [v1.5.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.8...v1.5.0) (2023-02-12)

### Features:

- MagicLink: Add the UI for requesting a magic link. (#121)

## [v1.4.8](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.7...v1.4.8) (2023-02-07)

### Improvements:

- Autofocus identity field in password component (#105)

## [v1.4.7](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.6...v1.4.7) (2023-01-30)

### Improvements:

- ensure horizontal rules get a unique id (#99)

## [v1.4.6](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.5...v1.4.6) (2023-01-29)

### Improvements:

- improve default theme on dark mode. (#87)

- Add override introspection and tidy up docs.

## [v1.4.5](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.4...v1.4.5) (2023-01-26)

### Improvements:

- remove readme contents, add tutorial (#81)

## [v1.4.4](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.3...v1.4.4) (2023-01-19)

### Improvements:

- make `ash_authentication_live_session` support opts (#74)

## [v1.4.3](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.2...v1.4.3) (2023-01-18)

### Improvements:

- remove spark doc index (#63)

## [v1.4.2](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.1...v1.4.2) (2023-01-13)

### Bug Fixes:

- set ash_authentication? context on forms (#56)

## [v1.4.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.4.0...v1.4.1) (2023-01-12)

### Improvements:

- Add Github icon. (#55)

## [v1.4.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.3.1...v1.4.0) (2023-01-12)

### Features:

- LiveSession: Add `ash_authentication_live_session` macro to router. (#54)

## [v1.3.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.3.0...v1.3.1) (2023-01-10)

### Bug Fixes:

- deps: Loosen version constraints on deps.

## [v1.3.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.2.0...v1.3.0) (2022-12-16)

### Features:

- Add Auth0 icon.

## [v1.2.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.1.0...v1.2.0) (2022-12-15)

### Features:

- PasswordReset: Add a generic password reset form (#37)

- PasswordReset: Add a generic password reset form

### Improvements:

- Input.submit: trim trailing "with password" from submit buttons.

## [v1.1.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.0.1...v1.1.0) (2022-12-15)

### Features:

- Overrides: Move overrides from application environment to the `sign_in_route` macro. (#36)

## [v1.0.1](https://github.com/team-alembic/ash_authentication_phoenix/compare/v1.0.0...v1.0.1) (2022-12-14)

### Improvements:

- Components.Banner: Allow image, text and hrefs to be disabled with `nil`. (#35)

## [v0.5.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v0.4.0...v0.5.0) (2022-11-14)

### Features:

- OAuth2: Add OAuth2 link component. (#12)

## [v0.4.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v0.3.0...v0.4.0) (2022-11-10)

### Features:

- Confirmation: Add confirmation support.

## [v0.3.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v0.2.0...v0.3.0) (2022-11-03)

### Features:

- PasswordReset: Add password reset support to the UI. (#10)

## [v0.2.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v0.1.0...v0.2.0) (2022-10-28)

### Features:

- UI refresh. (#3)

## [v0.1.0](https://github.com/team-alembic/ash_authentication_phoenix/compare/v0.1.0...v0.1.0) (2022-10-25)

### Features:

- Add support for PasswordAuthentication.
