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.13.7

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

lawik
NervesHub has had a CLI for a long time. It is called nerves_hub_cli and for the longest time you’d add it as a dependency. But only once...
New
zachdaniel
Hey folks! I’ve released the first version of our new AI policy. Accepting it is now part of our issue and pull request templates. Feel ...
New
ConnorRigby
This week we added official Nerves support for the OSD32MP1 line of SOMs. Currently we have tested the osd32mp1-brk breakout board, and ...
New
fhunleth
We recently released Nerves 1.4.0 and an update to the Nerves new project generator, nerves_bootstrap. The biggest change is support for ...
New
jjcarstens
Do you like Hacktoberfest? Also enjoy working with Nerves and want to contribute? Fantastic! :tada: :beers: Here are some potential sta...
New
bartblast
Hologram v0.6.0 is here, bringing production-ready features to the full-stack Elixir web framework! This release focuses on enhanced secu...
New
zachdaniel
Hey folks, we have a minor CVE issued for AshAuthentication. Please read the CVE and update accordingly. Relatively low severity, can’t c...
New
zachdaniel
Going into main shortly, to be released with atomics being wrapped up (which will get its own larger announcement), we will support valid...
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
zachdaniel
@jimsynz just launched an epic new extension for Ash! It allows you to create rich mix tasks for calling your resource actions directly f...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
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
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement