Page 1 of 1

Extending the login service to return additional user data.

Posted: Sun Aug 25, 2013 9:05 am
by TomMcCann

I added an extra column to the Users data collection to contain the department that each user works in. I add a new response parameter to the login service to return the Department value. When the login service runs, it returns the _id value and sessionToken value but no Department value.

Is it possible to extend the login service in this way? If not, is there any other way to return additional column values from the Users collection?


Extending the login service to return additional user data.

Posted: Sun Aug 25, 2013 9:18 am
by Alena Prykhodko

Hello Tom!

Here is how to work with databases http://docs.appery.io/documentation/b...


Extending the login service to return additional user data.

Posted: Wed Nov 20, 2013 3:40 am
by Bryce

Hello. I also have this exact same question.

How can I get additional parameters returned (in addition to the "_id" and "sessionToken" parameters) in the 'login_service' ?

I added an additional parameter on the "Response" tab of the login_service, however this parameter is not returned in the json response. (see image attached).

I've read the above link posted by Alena, however this does not answer this question in any way.

Please, can someone give me a very specific answer to this straight forward question.

Thanks in advance! Image


Extending the login service to return additional user data.

Posted: Wed Nov 20, 2013 6:52 am
by Maryna Brodina