Not getting "User" type on context.
I am creating a few "custom" procedures that uses middleware to authenticate a user, like this:
This is the method used for authenticating (It's part of a class with other methods btw):
But for some reason when I use the procedure I can't access the "user" object, showed in image. Why is this?
2 Replies
In-line the security handler function instead of creating a separate fn
Alrighty, thank you!