An issue has been discovered with the way LoginToboggan interacts with the RESTful Web Services module (https://www.drupal.org/project/restws).

Without LoginToboggan, logging into a Drupal site via a REST request will return a JSON response. With LoginToboggan, a full HTML response is returned instead of JSON, making it hard to work with.

This is only an issue if the "Present login form on access denied (403)" LoginToboggan setting is enabled.

See more details in this comment/discussion: https://github.com/farmOS/farmOS-mobile-app/issues/3#issuecomment-355317673

Comments

m.stenta created an issue.