thx a lot ！！！！
it's work finally！
Get user info in post route registered in plugin
I am trying to create a plugin which has post route in it, I want to get uid of requesting user in the handler but req.uid is always zero and req.user is always undefined. Any help appreciated.
Thanks @jarey , I was using shiny new fetch api but wasn't including credentials. silly me.