Should have id in class UserProfile in module @loopback/sercurity #8034
Unanswered
Vn-ChemGio
asked this question in
Q&A
Replies: 1 comment
-
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.
-
In most of case we want to get id of user to use in other module or class , when we want to get current User login
Example: In my case , I'm trying to extend module loopback-soft-delete
Currently I'm use
"@loopback/security": "^0.5.4",
"@loopback/authentication": "^7.3.4",
"@loopback/authentication-jwt": "^0.9.4",
to auth user, and update some meta data but I can get id of user from UserProfile
So, please add "id" field to UserProfile class
Beta Was this translation helpful? Give feedback.
All reactions