title: Magento 2 rest api Consumer is not authorized to access %resources<
body: <p>I want to get the products from magento 2 that is in my localhost. but when i put /rest/V1/products? it gives me  </p>
  
  <pre><code>&lt;response&gt;
  &lt;message&gt;Consumer is not authorized to access %resources&lt;/message&gt;
  &lt;parameters&gt;
  &lt;resources&gt;Magento_Catalog::products&lt;/resources&gt;
  &lt;/parameters&gt;
  &lt;/response&gt;
  </code></pre>
  
  <p>i have made roles and also integration. i don't know how to access these resources. i have to get these products in my ionic app</p>