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