zachdaniel

zachdaniel

Creator of Ash

AshAuthentication Igniter Installers

: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

Most Liked

zachdaniel

zachdaniel

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!

Where Next?

Popular in News & Updates Top

hugobarauna
This post announces the Livebook desktop app, a way to install Livebook on your machine without the requirement to have Elixir installed ...
New
fhunleth
We’ve released new versions of all of the officially maintained Nerves Systems. The official systems, nerves_system_rpi0, nerves_system_b...
New
zachdaniel
What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir...
New
jjcarstens
The Raspberry Pi is a very popular hardware platform for Nerves users and the official systems are getting an upgrade! :tada: :beers: Wh...
New
zachdaniel
Join us for our first Ash Office Hours next Thursday at 6PM EST! Myself and anyone from the core team who can make it will be answering q...
New
mat-hek
Hi there! So far we’ve been posting news about Membrane & multimedia mostly on X/Twitter, but from now on we’d like to share them on ...
New
bartblast
Hey there! :slight_smile: We need help completing Elixir’s browser runtime by porting some Erlang functions to JavaScript. Hologram aut...
New
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
zachdaniel
Working with nested forms in Ash was already great, but it’s even better now with a the new features that will be in the next release of ...
New
polvalente
Nx, EXLA and Torchx 0.12 have just been published! This update set comes with the new Nx.block abstraction and the EXLA.CustomCall proto...
New

Other popular topics Top

aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42158 114
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127536 1222
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New

We're in Beta

About us Mission Statement