No internet connection
  1. Home
  2. Announcements

New feature: auto basic authentication

By @ana
    2021-10-17 08:58:35.942Z

    Basic authentication is a simple API authentication scheme that works by adding a Header Key of "Authorization", and a Value of "Basic + username:password", where username:password is encoded to base 64.

    I noticed a few authentication-related error messages coming through and found it's largely because Shopify's API documentation says:

    Some HTTP clients support basic authentication by prepending username:password@to the hostname in the URL. For example:

    GET  https://{username}:{password}@{shop}.myshopify.com/admin/api/2020-07/shop.json
    

    So, API Connector is now one of those HTTP clients that supports this method of basic authentication :) This should help avoid authentication errors.

    Of course you can still set up basic authentication the standard way, too. This article provides more information and a form to encode credentials to base 64: https://mixedanalytics.com/knowledge-base/api-connector-encode-credentials-to-base-64/

    originally posted 2020-07-17

    • 0 replies