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

First 3 of 3 Posts Switch mode

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

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
After building Hologram and sharing updates across various places, I’ve realized there’s a lot happening that doesn’t always make it to t...
New
nseaSeb
Just published search_ash 0.5.0 (with search_core 0.4.0) on Hex. What’s new: synonyms You can now declare a synonym dictionary per lang...
New
mudasobwa
After years of struggling I made StreamData dependency optional. Finitomata.ExUnit got testing primitives for Persistence. Full back co...
New
polvalente
We have released v0.13 of nx, exla and torchx, along with a recently released emlx v0.4. Nx This is where the bulk of the updates happen...
New
bartblast
Hologram v0.11 is out! Two headline features this release. First, Elixir regexes now run in the browser. They were server-only until now,...
New
sullyMusty
ActiveMemory 0.8.0 is on Hex. It’s an in-memory store built on ETS and Mnesia: typed records you query by **any attribute**, not just a ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
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
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement