I need to return authenticated response of the api which need to be authorised token. I tried to pass UserRequest like it is done in app-api while logout. But it did not work.
What is the best centralise way to execute authentication for different APIs?