acquia / waterwheel.js

A generic JavaScript helper library to query and manipulate Drupal 8 via core REST and JSON API
https://github.com/acquia/waterwheel.js
233 stars 26 forks source link

Usage without OAuth #59

Closed berdyshev closed 7 years ago

berdyshev commented 7 years ago

Is there any possibility to use library without OAuth authentication? I didn't add config for oauth in new Waterwheel() but there is failed request for token in console.

mattgrill commented 7 years ago

@berdyshev Sure, instead of passing the oauth object when creating a new instance, just pass validation: false and no attempts at authentication will be made.