Skip to content
  • There are no suggestions because the search field is empty.

Magento 2 site connection errors - Token-Based Authentication

Magento 2 allows uses to use different methods of authentication to be able to access their web APIs. 

For Spark Shipping, OAuth Access Token Authentication is required. To enable this, make sure you follow the steps outlined below: 

 

In your Magento Admin, go to Stores -> Configuration -> Services -> OAuth -> Consumer Settings -> Allow OAuth Access Tokens to be used as standalone Bearer tokens -> Yes

Then run Test Connection again in Spark Shipping. If it still reports Unable to Authenticate, check that the Spark Shipping integration is activated in Magento and that the Access Token is correct. If it reports Request blocked by rate limiting (429 Too Many Requests), see How to Whitelist Spark Shipping IPs & Disable Rate Limiting in Cloudflare.