Commit graph

107 commits

Author SHA1 Message Date
Nicholas Moen
4abbf7c0f5
docs: add snippet to help enable policy authorizers (#683) 2024-05-13 12:38:07 -04:00
Sucipto
ca57510c90
doc: fix code example on docs (#676) 2024-05-12 10:09:45 -04:00
4e66a402fe
improvement: Only require tokens to be enabled when using a strategy which needs them. 2024-05-10 14:38:09 +12:00
bc1e590bca
docs: Documentation refresh for Ash 3.0. (#665)
* docs: Update README to new format.

* docs: tidy up docus some more.

* docs: More documentation tweaks.

* docs: Tweak readme.
2024-05-08 11:50:57 +12:00
Martin Schut
8721c01b4c
improvement(OIDC): Adjust dsl of OIDC reflect assent requirements (#538)
The OIDC implementation of assent requires the base_url to be set and ignores the different *_url attributes. At favours the returned configuration from the openid_configuration_uri. To not configure some unused attributes they're removed.
2024-04-12 09:22:58 +12:00
85700b37d8 feat!: Sign in tokens are enabled by default for the password strategy. 2024-04-10 12:08:54 +12:00
03b38bdcb4 feat!: Tokens are now enabled by default. 2024-04-10 12:08:54 +12:00
George
02eabdd155
docs: remove 'resources' dir from guides and fix grammar (#617) 2024-04-07 08:03:01 -04:00
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