angular-drupal icon indicating copy to clipboard operation
angular-drupal copied to clipboard

After successful login, remove call for new token, because token is now returned with login result

Open signalpoint opened this issue 10 years ago • 2 comments

The Services module now includes the new token in the result of a login call, so we don't need to manually grab the token after logging in any more.

signalpoint avatar Sep 27 '15 20:09 signalpoint

Any updates on this? I am returning result.data in user_login but not 100% this is what I want to do.

OpenEyeNet avatar Oct 17 '16 21:10 OpenEyeNet

@OpenEyeNet I have not made any progress on this. I think we could set the token here: https://github.com/easystreet3/angular-drupal/blob/7.x-1.x/src/angular-drupal.js#L99

And then the subsequent System Connect call will probably use that new token, instead of retrieving a new one.

signalpoint avatar Oct 27 '16 13:10 signalpoint