TomMcCann
Posts: 0
Joined: Sat Aug 17, 2013 2:27 am

Extending the login service to return additional user data.

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?

Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

Extending the login service to return additional user data.

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

Return to “Issues”