Skip to content
  • Daniel Stone's avatar
    HACK: Conduit: Accept OAuth2 Authorization header · 5e9cf61a
    Daniel Stone authored and Ana Rute Mendes's avatar Ana Rute Mendes committed
    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.
    5e9cf61a