Commit graph

19 commits

Author SHA1 Message Date
Zach Daniel
0618356731 chore: fix dev app 2024-08-13 12:46:01 -04:00
Zach Daniel
9f5feedc7d
feat: Dynamic Router + compile time dependency fixes (#487)
* improvement: create a new dynamic router, and avoid other compile time dependencies

* chore: "fix" credo
2024-08-08 20:03:48 -04:00
425980157d
improvement: fix deprecation warnings about live_flash/2. 2024-07-10 14:01:19 +12:00
Zach Daniel
1cfbac5962 chore: remove unused alias 2024-01-21 14:07:14 -05:00
Minsub Kim
78c7237a33
build: update phoenix_html to 4.0.0 (#360) 2024-01-19 00:18:38 -05:00
Zach Daniel
2f5ccef69c chore: fix deprecation warning 2023-10-02 09:22:59 -04:00
Zach Daniel
903f3a386e
feat: support new sign in tokens feature on password strategy (#176)
As of version `3.10.5` `ash_authentication` now supports generating and validating short-lived sign in tokens as part of the password sign in flow.  This feature seamlessly enables this flow simply by turning on `sign_in_tokens_enabled?` in the password strategy DSL.

---------

Co-authored-by: James Harton <james@harton.nz>
2023-04-06 15:59:52 +12:00
Zach Daniel
baaf12bc1c fix: resolve issues w/ assigning socket & test helper flash 2023-03-27 10:43:48 +13:00
James Harton
7f792990f0
improvement: Add slots to password-related forms. (#168)
Allows the sign in, register and reset forms to be customised by way of a named slot.
2023-03-23 15:05:42 +13:00
Zach Daniel
7dddb117f3 chore: clean up compiler warnings in dev/test 2023-03-09 21:05:00 -05:00
James Harton
dbc9fcc5a8
improvement: Add Github icon. (#55) 2023-01-12 19:16:23 +13:00
James Harton
d92d7853df
feat(LiveSession): Add ash_authentication_live_session macro to router. (#54) 2023-01-12 15:54:23 +13:00
James Harton
432f056905
feat(PasswordReset): Add a generic password reset form (#37)
* feat(PasswordReset): Add a generic password reset form

* improvement(Input.submit): trim trailing "with password" from submit buttons.
2022-12-15 16:31:52 +13:00
James Harton
bb241ad95c
feat(Overrides): Move overrides from application environment to the sign_in_route macro. (#36)
This causes two small changes in behaviour:

  1. If you are currently customising the default components you can remove the configuration from your `config.exs` and instead move it to your router.  This allows you to have multiple sign-in routes with different "themes" should that be necessary.
  2. If you are using the components directly you need to pass the `overrides` array into each component.
2022-12-15 14:52:11 +13:00
James Harton
1d3e4e4641
improvement!: Update to support AshAuthentication 3.x (#27) 2022-12-08 14:32:26 +13:00
James Harton
e25a8bf397
feat: UI refresh. (#3)
* Redesign the overrides system to be easier to reason about.
* Redesign the password UI to be fancier.
2022-10-28 20:13:48 +13:00
05ab4f438b feat: Add support for PasswordAuthentication. 2022-10-25 17:02:56 +13:00
c3bbac966b chore: get doctor passing. 2022-10-25 11:27:36 +13:00
63c0064fba chore: set up dev Phoenix server. 2022-10-25 11:23:05 +13:00