With the latest release of AshAuthention, I'm getting a DSL error.
** (EXIT from #PID<0.96.0>) an exception was raised: ** (Spark.Error.DslError) [MyApp.Users.UserToken] identities -> token_context: All identity keys must be attributes. Got: :context
** (EXIT from #PID<0.96.0>) an exception was raised: ** (Spark.Error.DslError) [MyApp.Users.UserToken] identities -> token_context: All identity keys must be attributes. Got: :context
identities do identity :token_context, [:context, :token] end
identities do identity :token_context, [:context, :token] end
My git blame says I added this when migrating to Ash, but I don't remember why or see it referenced in any of the guides.
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.