Title: Preferred API Authentications
Last modified: November 1, 2016

---

# Preferred API Authentications

 *  [seagyn](https://wordpress.org/support/users/seags/)
 * (@seags)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/preferred-api-authentications/)
 * Hi there,
 * I spent the last two weeks trying to figure out why basic authentication wasn’t
   working even though I’m using the API via https://
 * The issue is around PHP-FPM (FCGI) removing the auth headers on my server.
    1. Do I try and sort it out (it’s a managed dedicated server)?
    2. Do I pass the key and secret via query params?
    3. Do I try us oauth (please don’t say this)?
 * I’m just asking about best practice. If it’s fine to pass credentials in the 
   URL over https then I’m happy to do that.
 * Thanks so much!

The topic ‘Preferred API Authentications’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [seagyn](https://wordpress.org/support/users/seags/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/preferred-api-authentications/)
 * Status: not resolved