Commit ceb5d374 authored by Committed by Ana Rute MendesBrowse files
HACK: Conduit: Accept OAuth2 Authorization header
This is really lame. The Ruby OAuth2 client can only pass its token in the form data (which Phab is not prepared to accept), or as part of the Authorization header (which PHP strips out). Use a function only available in newer PHP to scrape the Authorization header from the raw stream. I have no idea what the correct fix is.
Showing with 14 additions and 0 deletions