acquia / waterwheel.js

A generic JavaScript helper library to query and manipulate Drupal 8 via core REST and JSON API

Home Page:https://github.com/acquia/waterwheel.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage without OAuth

berdyshev opened this issue · comments

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.

@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.