Ash FrameworkAF
Ash Framework3y ago
6 replies
Robert Graff

AshAuthentication identity :token_context

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


  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.

Any idea what I was trying to do here?
Was this page helpful?