AshAuthentication identity :token_context
With the latest release of AshAuthention, I'm getting a DSL error.
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?
4 Replies
🤔 if you remove that identity, do you have a
:context
attribute on the resource?
i.e Ash.Resource.Info.attribute(MyApp.Users.UserToken, :context)
?I don't have a context attribute in my UserToken. Before migrating to Ash, I was using the phoenix auth. I think this is lint from that.
I might just remove that identity then 🙂
We updated ash to raise an error on invalid identities
That's what I thought