How to access current context in remote method in lb3

21 views
Skip to first unread message

Camden Cloward

unread,
Dec 28, 2017, 2:51:25 PM12/28/17
to LoopbackJS
I need to access the current user from a remote method. It seems easy to do in lb2, but loopback.getCurrentContext() was deprecated and removed in lb2.

.... seems like this would be a fairly common use case. Please help,

Thanks,

Camden Cloward

unread,
Dec 28, 2017, 3:09:38 PM12/28/17
to LoopbackJS
Reply all
Reply to author
Forward
0 new messages