Created
May 31, 2017 08:38
-
-
Save ChMat/317ff79cb2ebb51fd9aeddc7c19a9e85 to your computer and use it in GitHub Desktop.
Enable passing OAuth2 Authorization header in requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Apache blocks the Authorization header by default. | |
# You should enable the RewriteEngine if this is not done already | |
RewriteEngine On | |
# Sets the HTTP_AUTHORIZATION header removed by apache | |
RewriteCond %{HTTP:Authorization} . | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment