title: OAuth1 Authentication in Fetch
body: <p>I am trying to connect my drupal using OAuth Token. 
  I am able to successfully do it using PostMan with OAuth1 Authentication set as header.
  In my javascript app, I am using Fetch for get request, the issue is how to you add the header. 
  In php one can use <em>GuzzleHttp\Subscriber\Oauth\Oauth1;  Class</em> (<a href="https://gist.github.com/juampynr/caf2959c77306f7a299b" rel="nofollow">Ref</a>)</p>
  
  <p>But how to do this in my JS App? what library can I use for generating proper header compatible with OAuth using Consumer Secret and Client Key</p>
  
  <p>Sample JS Code</p>
  
  <pre><code>return fetch('http://d8.epicureans.in/node/1?_format=json', {'mode': 'no-cors',
  method: 'get',
  headers: {},
  })
  </code></pre>