rluders / wn-jwtauth-plugin

JWTAuth Plugin for WinterCMS
GNU General Public License v3.0
29 stars 28 forks source link

Extend response #62

Open vimre opened 3 years ago

vimre commented 3 years ago

Hi All,

Could you please help me how could I extend response to get custom User (model) attributes and/or data that come from user model relationships (such as permissions, etc.)? Current response contains only fields of User model.

Thanks in advance!

rluders commented 3 years ago

Hi @vimre

I think it is possible to be done, but I need some time to test it. Right now I'm working on some other aspects of the plugin support. Maybe someone from the community could help you. Otherwise, if you don't need it right now, I can take a look later.