Need to pass Authorization headers

[IMPORTANT, please fill the questions]

  • Application name and version:
    AWS Wordpress 4.6-1-r21 on Ubuntu 14.04.3

  • Is it an installer, cloud image or virtual machine?:
    AWS VM

  • Is there anything you’ve done and/or tried with the application before posting here?
    I’ve played with various things like the htaccess (adding the Auth rerwite rule ) …

/opt/bitnami/apps/wordpress/conf/htaccess.conf

<Directory /opt/bitnami/apps/wordpress/htdocs/>
   AllowOverride All

   <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /
      RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
   </IfModule>
</Directory> 

Thoughts?

We assume you are using Bitnami to deploy your application.
Describe here your question/suggestion/issue and how to reproduce it.

Some Apache’s modules strip most of the HTTP headers for security.

Probably you can work around this issue including in config:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

This adds a HTTP_AUTHORIZATION key to the $_SERVER global, just as if the Authorization header had been passed through by Apache.

hi i have the same issue but with woocommerce , dont letme connect and error 401 auth appear

This might help
https://www.youtube.com/watch?v=pmfVL3yeq84