Commit graph

99 commits

Author SHA1 Message Date
f0075e2cd3
improvement!: Update to support Ash 3.0. (#599) 2024-03-28 14:44:23 +13:00
79bc19944c docs: Update DSL documentation. 2024-03-11 16:07:24 +13:00
Rebecca Le
b1861249b5
docs: Add policies to the sample User resource, so that data is protected by default (#579) 2024-02-29 23:27:10 -05:00
Rebecca Le
5023f381b5 docs: Mark the hashed_password field as private so it does not appear in any API responses
As the API extensions grab all public attributes by default - this is one that really should not be included!
2024-02-26 21:38:00 +13:00
StephanH90
be3e352271
docs: add notice about minimum ash_postgres version (#517) 2024-01-29 14:23:25 +13:00
Zach Daniel
ba44d56820 docs: update ex_doc, overhaul underlying doc structure
docs: make all DSL docs one liners (now required by spark)
2024-01-12 16:30:27 -05:00
dependabot[bot]
99c20cce76
chore(deps): Bump ash from 2.17.10 to 2.17.12 (#524)
* chore(deps): Bump ash from 2.17.10 to 2.17.12

Bumps [ash](https://github.com/ash-project/ash) from 2.17.10 to 2.17.12.
- [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.17.10...v2.17.12)

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

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

* docs: Update Spark DSL docs.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-12-15 09:07:32 +13:00
Rebecca Le
d360117c2a
docs: Fix broken link to Auth0 quick-start guide 2023-12-06 11:02:04 +08:00
Rebecca Le
739a544651
docs: Add new Testing guide
It's pretty bare-bones at the moment, but does close #476 by mentioning
that `bcrypt_elixir` can be tweaked for faster tests
2023-12-06 10:47:07 +08:00
7319d29442
docs: Reflect assent's site -> base_url change. 2023-11-22 10:58:06 +13:00
dependabot[bot]
408a28ccf4
chore(deps): Bump assent from 0.2.7 to 0.2.8 (#506)
* chore(deps): Bump assent from 0.2.7 to 0.2.8

Bumps [assent](https://github.com/pow-auth/assent) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/pow-auth/assent/releases)
- [Changelog](https://github.com/pow-auth/assent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pow-auth/assent/compare/v0.2.7...v0.2.8)

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

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

* chore(OAuth2): Reflect `assent` `site` -> `base_url` change.

I considered just rewriting it behind the scenes, but I think it's probably better in the long run if we just emit a deprecation.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-11-22 10:49:07 +13:00
Rebecca Le
03b3a75e4e
docs: Update Spark cheat sheets after updating Oauth2 module docs 2023-11-13 14:09:24 +08:00
James Harton
0f6e677e4b
docs: fix incorrect username in example. (#496)
Closes #460.
2023-10-30 09:54:33 +13:00
fd474af867
chore: update DSL cheat sheets. 2023-10-30 09:30:42 +13:00
Lars Wikman
a4f68eb9e0
feat: Add Google strategy (#474)
* feat: Add Google strategy

* fix: include Google strategy cheat sheet

* fix: Add documentation grouping for Google strategy

* chore: update formatter.

---------

Co-authored-by: James Harton <james@harton.nz>
2023-10-26 12:44:56 +13:00
Lars Wikman
8a623ff6b0
improvement: Change redirect_uri secret to be more flexible (#473)
Applies to both OAuth2 and OpenID Connect.

With this the developer can provide either the full
URL or the URL up to the AuthPlug path. If the suffix
is already there we won't add it again.

Should make it easier to get it on the first try.
2023-10-26 11:48:23 +13:00
Arthur Clemens
c214067a18
docs: Fix typos 2023-10-26 11:30:46 +13:00
github-actions
d5be39f1fd chore: release version v3.11.16 2023-10-25 22:19:16 +00:00
Samuel Blanco
5476653580
docs: adds guide for oauth2 strategy with google (#484) 2023-10-26 11:08:25 +13:00
dependabot[bot]
11564ef016
chore(deps): Bump spark from 1.1.46 to 1.1.47 (#478)
* chore(deps): Bump spark from 1.1.46 to 1.1.47

Bumps [spark](https://github.com/ash-project/spark) from 1.1.46 to 1.1.47.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v1.1.46...v1.1.47)

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

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

* docs: Update cheat sheets.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-10-20 08:26:59 +10:00
dependabot[bot]
98ee7a341b
chore(deps): bump spark from 1.1.43 to 1.1.44 (#466)
* chore(deps): bump spark from 1.1.43 to 1.1.44

Bumps [spark](https://github.com/ash-project/spark) from 1.1.43 to 1.1.44.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v1.1.43...v1.1.44)

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

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

* docs: Update DSL cheat sheets.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-10-12 09:49:40 +13:00
scubass
b986e3c10e
docs: Update getting-started-with-authentication.md (#455)
add postgres extension
2023-10-06 10:08:21 +13:00
Zach Daniel
bb9b3d7655 chore: analytics in hexdocs
chore: update cheat sheets
2023-10-02 08:38:58 -04:00
De Wet Blomerus
857aaa3f1e
Fail fast when misconfigured 🧨 (#442) 2023-09-28 10:27:22 -04:00
De Wet Blomerus
04a773ec27
docs: Clarify starting position 🏎️ (#441)
docs: Match the identity from the AshAuthenticationPhoenix guide 
2023-09-28 10:26:42 -04:00
Zach Daniel
581ea6ce07 docs: generate cheat sheets 2023-09-26 23:42:46 -04:00
Zach Daniel
c8b13f8aac docs: update spark/ex_doc for improved docs 2023-09-26 23:26:44 -04:00
github-actions
5f08be13e2 chore: release version v3.11.15 2023-09-22 11:42:24 +00:00
github-actions
36d7d6866d chore: release version v3.11.14 2023-09-22 01:54:04 +00:00
github-actions
048da649d2 chore: release version v3.11.13 2023-09-22 00:23:49 +00:00
7b607896eb
improvement: Allow all token lifetimes to be specified with a time unit.
Now any DSL option which allows the configuring of a token lifetime
can take _either_ a positive integer in it's previous default unit
or a tuple containing a positive integer and a unit.

Closes #376.

Additionally includes switching the resettable entity to being a singleton since that
feature didn't exist when I started.
2023-09-22 12:15:47 +12:00
86676181f7 chore: Add spark DSL cheatsheets to docs. 2023-09-22 10:42:46 +12:00
github-actions
abba2131ba chore: release version v3.11.12 2023-09-21 21:45:59 +00:00
github-actions
e149bb16ea chore: release version v3.11.11 2023-09-21 21:19:19 +00:00
De Wet Blomerus
d621f55294
Clarify which file contains the snippet (#427) 2023-09-21 09:26:24 -04:00
github-actions
8558d8b8f6 chore: release version v3.11.10 2023-09-18 22:22:14 +00:00
github-actions
aa96528d75 chore: release version v3.11.9 2023-09-17 23:42:11 +00:00
github-actions
4bf5cea9d2 chore: release version v3.11.8 2023-08-16 21:23:43 +00:00
Zach Daniel
575785c3f2
docs: remove registries from docs and examples (#388) 2023-08-16 19:58:48 +12:00
github-actions
45a252d24f chore: release version v3.11.7 2023-07-14 01:57:03 +00:00
github-actions
d282dfee93 chore: release version v3.11.6 2023-06-23 03:16:50 +00:00
github-actions
bf6ee46024 chore: release version v3.11.5 2023-06-18 22:39:51 +00:00
github-actions
cc3aa410ea chore: release version v3.11.4 2023-06-15 00:35:57 +00:00
github-actions
d0aebdd694 chore: release version v3.11.3 2023-05-31 22:25:24 +00:00
github-actions
324fa4031b chore: release version v3.11.2 2023-05-28 23:00:52 +00:00
Wout De Puysseleir
bdc7311b40
Add Magic Link Guide (#297) 2023-05-10 15:48:27 +12:00
github-actions
551ec6441b chore: release version v3.11.1 2023-05-04 21:25:24 +00:00
github-actions
f403e25b5c chore: release version v3.11.0 2023-05-04 01:21:48 +00:00
github-actions
ab27025650 chore: release version v3.10.8 2023-04-28 19:25:53 +00:00
github-actions
33ed10ae59 chore: release version v3.10.7 2023-04-28 17:26:30 +00:00