Commit graph

189 commits

Author SHA1 Message Date
Zach Daniel
53e6497ab9
improvement: validate signing secret is a string (#163) 2023-01-29 19:18:15 -05:00
Zach Daniel
dc010ec610
chore: fix docs links to phoenix guides (#162) 2023-01-29 19:17:55 -05:00
James Harton
7e639e4a21
feat: Add support and documentation for custom strategies. (#154) 2023-01-30 13:16:37 +13:00
Zach Daniel
11cf8a8cfa
docs: remove guide that has been moved to ash-authentication-phoenix (#161)
docs: remove readme contents to push people towards the appropriate docs
2023-01-27 09:31:26 +13:00
Zach Daniel
6486858511
docs: don't show readme on ash_hq (#160)
* docs: don't show readme on ash_hq

* docs: show phoenix 1.7 compatibility note and add ash_apis config
2023-01-26 11:51:03 +13:00
dependabot[bot]
646dedcff6
chore(deps): bump ash from 2.5.8 to 2.5.9 (#159)
Bumps [ash](https://github.com/ash-project/ash) from 2.5.8 to 2.5.9.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.5.8...v2.5.9)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:07:10 +13:00
dependabot[bot]
c2da6cb92c
chore(deps): bump ash from 2.5.7 to 2.5.8 (#158)
Bumps [ash](https://github.com/ash-project/ash) from 2.5.7 to 2.5.8.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.5.7...v2.5.8)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-21 19:36:58 +13:00
dependabot[bot]
b57cb8c20d
chore(deps): bump ash from 2.5.6 to 2.5.7 (#156)
Bumps [ash](https://github.com/ash-project/ash) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.5.6...v2.5.7)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-21 17:39:34 +13:00
Lachlan Wilger
40a8e4ef8c
docs: Fix mild typo in OAuth documentation. (#157) 2023-01-21 17:39:13 +13:00
dependabot[bot]
820ee46295
chore(deps): bump spark from 0.3.6 to 0.3.7 (#152)
Bumps [spark](https://github.com/ash-project/spark) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/ash-project/spark/releases)
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v0.3.6...v0.3.7)

---
updated-dependencies:
- dependency-name: spark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 09:32:47 +13:00
dependabot[bot]
4fcf336a36
chore(deps): bump ash from 2.5.4 to 2.5.6 (#153)
Bumps [ash](https://github.com/ash-project/ash) from 2.5.4 to 2.5.6.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.5.4...v2.5.6)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 09:32:18 +13:00
a7c590bb71 docs: fix incorrect example in quickstarts. 2023-01-19 13:10:33 +13:00
github-actions
6c0a11cea7 chore: release version v3.7.3 2023-01-18 23:08:08 +00:00
James Harton
c1561e7747
fix(Password): validate fields using both methods of allowing nil input. (#151)
Closes #150.
2023-01-19 12:02:19 +13:00
github-actions
d6bfedfec2 chore: release version v3.7.2 2023-01-18 22:39:07 +00:00
James Harton
62cf54d85e
improvement(AuthenticationFailed): store a caused_by value in authentication failures. (#145)
This allows for a better debugging experience when trying to understand why an authentication action is failing.

Closes #128.
2023-01-19 11:32:37 +13:00
dependabot[bot]
b0dd8d55cd
chore(deps-dev): bump ash_graphql from 0.22.3 to 0.22.4 (#148)
Bumps [ash_graphql](https://github.com/ash-project/ash_graphql) from 0.22.3 to 0.22.4.
- [Release notes](https://github.com/ash-project/ash_graphql/releases)
- [Changelog](https://github.com/ash-project/ash_graphql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_graphql/compare/v0.22.3...v0.22.4)

---
updated-dependencies:
- dependency-name: ash_graphql
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 11:14:00 +13:00
dependabot[bot]
7cd55aef61
chore(deps-dev): bump ash_postgres from 1.3.2 to 1.3.3 (#147)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/ash-project/ash_postgres/releases)
- [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_postgres/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: ash_postgres
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 11:13:43 +13:00
dependabot[bot]
c9fb5a73b9
chore(deps-dev): bump ash_json_api from 0.31.0 to 0.31.1 (#149)
Bumps [ash_json_api](https://github.com/ash-project/ash_json_api) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/ash-project/ash_json_api/releases)
- [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_json_api/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: ash_json_api
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 10:50:26 +13:00
github-actions
5631b376da chore: release version v3.7.1 2023-01-18 07:27:37 +00:00
Zach Daniel
6321a9baa6
improvement: update ash & switch to new docs patterns (#146) 2023-01-18 02:13:30 -05:00
github-actions
00f082cc8d chore: release version v3.7.0 2023-01-18 01:52:26 +00:00
James Harton
d4f3bec947
feat(PasswordValidation): Add a validation which can check a password. (#144) 2023-01-18 14:46:22 +13:00
2a10e2da6a docs: small documentation improvements. 2023-01-18 12:04:03 +13:00
James Harton
7c71e1f219
docs: Add GitHub quick start guide. (#143) 2023-01-18 11:33:08 +13:00
James Harton
fec1060a15
docs: Add Auth0 quickstart guide. (#142) 2023-01-18 11:16:20 +13:00
dependabot[bot]
814928a65b
chore(deps-dev): bump ash_postgres from 1.3.1 to 1.3.2 (#141)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/ash-project/ash_postgres/releases)
- [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_postgres/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: ash_postgres
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 09:26:20 +13:00
Zach Daniel
8f208264e0
Update README.md 2023-01-17 08:51:25 -05:00
Zach Daniel
15b46bb1e8
Update README.md 2023-01-17 08:51:10 -05:00
Zach Daniel
5f8f6e07b0
update README.md 2023-01-17 08:50:55 -05:00
Darren Black
a5a1c2cdc3
docs: improve getting started guides (#140) 2023-01-17 17:05:19 +13:00
bc42cc7396 chore(README): Add logo and badges. 2023-01-16 18:03:21 +13:00
83793beb8d chore(CI): fix typo on release configuration. 2023-01-16 08:58:11 +13:00
github-actions
d8bd7030bb chore: release version v3.6.1 2023-01-15 07:34:35 +00:00
Zach Daniel
ec8e1eb979
improvement: set confirmed field to nil, for reconfirmation (#136)
* improvement: set confirmed field to `nil`, for reconfirmation

* chore: format

* improvement: only change `confirmed_at_field` if its not changing, and only on updates
2023-01-15 20:28:13 +13:00
github-actions
161c8ab7e8 chore: release version v3.6.0 2023-01-13 04:28:27 +00:00
Zach Daniel
f0aa2e7a93
fix: don't call hash_provider.valid? on nil values (#135)
fix: use configured hashed_password_field
2023-01-13 17:22:40 +13:00
James Harton
948298ac1c
improvement(TokenResource)!: Store the token subject in the token resource. (#133)
* improvement(TokenResource)!: Store the token subject in the token resource.

This is a breaking change because you may have to delete tokens in your database so that you can avoid the non-null constraint on subject.

* docs: Add upgrading documentation.
2023-01-13 17:21:57 +13:00
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
github-actions
f16960f018 chore: release version v3.5.3 2023-01-13 00:48:41 +00:00
James Harton
085d640c44
fix(Confirmation): send the original changeset to confirmation senders. (#132)
Changes the behaviour of the `ConfirmationHookChange` to pass the original, unmodified changeset in the sender options so that senders can account for inhibited changes.
2023-01-13 13:30:58 +13:00
dependabot[bot]
0bc98800c0
chore(deps): bump spark from 0.3.4 to 0.3.5 (#131)
Bumps [spark](https://github.com/ash-project/spark) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/ash-project/spark/releases)
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v0.3.4...v0.3.5)

---
updated-dependencies:
- dependency-name: spark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 13:26:56 +13:00
github-actions
4b1da2fe73 chore: release version v3.5.2 2023-01-12 22:33:22 +00:00
Zach Daniel
3413260659
improvement: add user context when creating tokens (#129) 2023-01-13 11:26:39 +13:00
dependabot[bot]
a4d272718d
chore(deps): bump ash from 2.5.1 to 2.5.2 (#127)
Bumps [ash](https://github.com/ash-project/ash) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.5.1...v2.5.2)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 08:52:34 +13:00
github-actions
cce4d87995 chore: release version v3.5.1 2023-01-12 05:02:37 +00:00
James Harton
63aaea6871
fix: missing icons in OAuth2 strategies. (#126) 2023-01-12 17:55:40 +13:00
github-actions
6c093788b8 chore: release version v3.5.0 2023-01-12 04:29:57 +00:00
James Harton
4129aa969a
feat(GitHub)!: Add GitHub authentication strategy. (#125) 2023-01-12 17:23:40 +13:00
github-actions
3885ab609f chore: release version v3.4.2 2023-01-12 02:40:38 +00:00