Add extra attributes to auth.user from middleware #4860
Replies: 1 comment
-
I put this to auth.user to prevent Problems when use the others |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have a middleware that needs to add extra attributes (based on internal logic) to the auth.user object. What is the correct key to use for adding this extra data?
Should I use:
auth.user.?
auth.user.$extras.?
auth.user.$attributes.?
Bye , René
Beta Was this translation helpful? Give feedback.
All reactions