You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might want to update the docs for this, but it seems that Apache 2.4+ strips out the Authorization header by default. I had to add the following to get OAuth working again:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
This was on an existing project that was working fine and reprovisioned vagrant to use Apache 2.4. Afterwards, all my API requests were returning 403. Adding the above to my site config solved the issue.
I had this same issue and it took a while before I figured out what was going on! :-|
If you are using a puPHPet vagrant box, you add a setenvif: setting in the vhost just under setenv.
Might want to update the docs for this, but it seems that Apache 2.4+ strips out the Authorization header by default. I had to add the following to get OAuth working again:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
This was on an existing project that was working fine and reprovisioned vagrant to use Apache 2.4. Afterwards, all my API requests were returning 403. Adding the above to my site config solved the issue.
Originally posted by @spectravp at zfcampus/apigility-documentation#45
The text was updated successfully, but these errors were encountered: