Commit graph

9 commits

Author SHA1 Message Date
James Harton
53d221aa6f
docs: Add a small warning about defining the failure template. (#134)
* docs: Add a small warning about defining the failure template.

Closes #118.

* Update documentation/tutorials/integrating-ash-authentication-and-phoenix.md

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2023-01-13 17:21:37 +13:00
Zach Daniel
999bec00ee
improvement: add policy utilities and accompanying guide (#119)
* improvement: add policy utilities and accompanying guide
fix: improve some error message/validation logic

* chore: update castore & fix check definition

* improvement: fix build/warnings/dialyzer/format

* chore: add private context to new `get_token` action.

* chore: fix build.

I'd rather have the warning than a build failure.

Co-authored-by: James Harton <james@harton.nz>
2023-01-12 15:34:41 +13:00
Zach Daniel
5f8110056d
improvement: docs updates (#95) 2022-12-16 12:02:34 +13:00
371a6ad821 improvement(Jwt)!: Use token signing secret into the DSL.
Use the `AshAuthentication.Secret` behaviour, rather than asking the user to explicitly set it in their application environment.

This is a breaking change that will require folks to change their resource config to look up the signing secret.

Closes #79.
Closes #77.
2022-12-12 10:45:28 +13:00
268a6ef685 chore(docs): Add tailwind configuration to phoenix guide.
Closes https://github.com/team-alembic/ash_authentication_phoenix/issues/31
2022-12-09 13:06:18 +13:00
Egor Kislitsyn
395388f91e
chore(docs): Fix code examples in the documentation (#74)
* Fix typo

* Password strategy requires a name

* Update documentation/getting_started/getting_started_01_basic_setup.md

Co-authored-by: James Harton <59449+jimsynz@users.noreply.github.com>

Co-authored-by: James Harton <59449+jimsynz@users.noreply.github.com>
2022-12-09 09:51:10 +13:00
Zach Daniel
69652e58a9 improvement: update to latest ash version
docs: use spark doc link replacements to render on hex & ash_hq
2022-12-08 00:39:22 -05:00
Zach Daniel
1f09f4ae66 docs: use ash docs replacements for hex versions 2022-12-07 22:02:14 -05:00
James Harton
afe6779b2a
chore: Add a basic getting started guide. (#13) 2022-12-08 15:23:47 +13:00