This script helps you to test OAuth-signed requests against Drupal 8.
First, make sure that Drupal has been configured by following the steps at https://www.drupal.org/node/2110825. Then install this script with these steps:
- Clone this gist.
- Run composer.install.
- Open oauth_request.php and fill out your
consumer_key
andconsumer_secret
. Then Adjustbase_uri
. - Execute the script with
php oauth_request.php
.
NOTE
: I had to apply this patch to Guzzle's OAuth Subscriber or authentication would fail.