zachdaniel

zachdaniel

Creator of Ash

:police_car_light: New AshAuthentication Installers :police_car_light:

The AshAuthentication igniter installers are released! Today on stream, we wrapped up the first (and hardest) strategy generator, for password auth :fire: The DX difference here is wild. Still more to go for the other strategies, but Ash Framework is getting better every day!

mix igniter.install ash_authentication_phoenix \
  --auth-strategy password

We have the following auth strategies available.
Only password can be installed automatically.
The rest must still be set up manually

  • Password
  • GitHub
  • Google
  • Magic Link (sign in only, register coming soon)
  • Auth0
  • OpenID
  • OAuth2 (generic)

See the docs for more: Get started with Ash Authentication — ash_authentication v4.14.1

When more strategy generators are available, you will be able to use multiple at once.

mix igniter.install ash_authentication_phoenix \
  --auth-strategy password \
  --auth-strategy magic_link

Or add strategies later!

mix ash_authentication.add_strategy password

Don’t have an app yet?
Get one ready-to-go with PostgreSQL, GraphQL, JSON:API and authentication with one terminal command!

You’ll need the igniter archive set up locally

mix archive.install hex igniter_new

Then you’re off to the races. Okay, two commands if you don’t have the archive installed yet :joy:

mix igniter.new your_app_name \
  --install ash,ash_postgres,ash_authentication_phoenix \
  --install ash_json_api,ash_graphql \
  --auth-strategy password

Showing Posts 1 to 3

zachdaniel

zachdaniel OP

Creator of Ash

Latest AshAuthentication now supports registration with magic link, and has an installer for it out of the box! We’re barely scratching the surface of where these tools will take us, but this is the mythical DX that I’ve been telling everyone about for so long :heart_eyes:

EricAndresen

EricAndresen

Thanks for the incredible work. Very excited about Ash!

kamaroly

kamaroly

I tried this today and installation was smooth. However, it seems to conflict with the password strategy for it throws an exception of hash_password is required. Has anyone else encountered this issue and solved it?

— All posts loaded —

Where Next? Top

Trending in News & Updates Top

sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
bartblast
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
sorenone
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New
jvoegele
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews