Tyler Frankenstein
Tyler Frankenstein
@HaroldRKnieriem Just to confirm... and then the `data.user.uid` always comes back as zero?
@HaroldRKnieriem that is strange, I'm not sure why that is happening. What if you copy/paste the code that powers the `user login` (so you can make your own manual call),...
@cgranville will you please describe your development environment? i.e. localhost vs remote, application (web, mobile) vs headlesss, any cross domain issues, CORS policy. For me personally, I've used it with...
@cgranville I suppose the `*` should allow the communication between 2000 and 8083, but that's a realm of skills I'll defer to your judgement on. Have you tried launching e.g....
After a bit more research, it appears running the app and Drupal on the same port is a good idea if you want to avoid potential CORS issues. This way...
@openbook Thank you for the detailed explanation of the way around the issue, much appreciated!
@thomas7373 thank you for pointing this out. It wasn't always this way, Services used to _not_ include the token in the result of the user login call. I'll create a...
@Saneesh what URL does your app live at? What URL does your Drupal site live at? Are they in the same domain? It sounds like you're having a cross domain...
@Saneesh You don't need to worry about the X-CSRF-Token, once it's retrieved, angular-drupal will properly use it with each of its Service commands. The user login function in angular-drupal just...
@Saneesh 1) Yes. 2) I don't know much further than this, many others have this "issue", and I don't know where entirely the solution lies, but others have gotten around...