• Daniel Stone's avatar
    HACK: Conduit: Accept OAuth2 Authorization header · ceb5d374
    Daniel Stone authored
    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.
    ceb5d374
PhabricatorConduitAPIController.php 21.9 KB