Can You Add Additional Attributes to ash_authentication_phoenix?
I went through the tutorial for and have password/email auth working. I'd like to add a
At runtime, the form seems to have errors like this:
Is the intent that I can have arbitrary attributes on a user resources used with
role attribute to my user resource so I did the below:At runtime, the form seems to have errors like this:
Is the intent that I can have arbitrary attributes on a user resources used with
Ash Authentication like this, or is there another approach I should be looking into? Ultimately, I'd like to add some code to seeds.exs which creates a couple :admin accounts and gate certain features behind only that role, but I'm very new to Ash, Phoenix and Elixir so I'm not sure if I'm heading in the right general direction or not.