[AshAuthentication] Unable to redefine User.id as a v7 uuid

If you modify user.ex and redefine id as having the type uuid_v7_primary_key You will get the runtime error: (EXIT from #PID<0.94.0>) an exception was raised: (Spark.Error.DslError) authentication -> strategies: The API key resource MyApp.Accounts.ApiKey must have id with type Ash.Type.UUID
Solution:
fixed in main of AshAuthentication
Jump to solution
1 Reply
Solution
ZachDaniel
ZachDaniel2w ago
fixed in main of AshAuthentication

Did you find this page helpful?