Single File Ash Authentication
https://gist.github.com/TwistingTwists/7e17076db32e22b4e46e8fa15e3ae64c
This is an attempt to have a single file AshAuthentication working with password strategy. however, on the localhost:4000/register route i cannot see any form.
Should I build one?
Gist
single file with ash authentication
single file with ash authentication. GitHub Gist: instantly share code, notes, and snippets.
8 Replies

This is what I see.
you have to configure ash_domains for the otp app
I think
how?
Application.put_env(:my_app, ash_domains: [MyApp.Domain])
?Actually, try specifying the
resources
option to sign_in_route
resources: [User]Got a new error. Hehe
on /register endpoint.
I think this has to do with liveview as well.
yeah thats a phoenix thing, you'll want to configure that up front
@abeeshake456 I'm going to test with the magic_link auth strategy which might be simpler.