Skip to content

MultiAuth ignores http requests returned by auth flow implementation #123

Description

@rafalkrupinski

The canonical protocol for httpx.Auth is that the implementation may produce multiple httpx.Requests, and the caller (normally httpx client) executes all of them, sends back responses and returns the last response as the result.

_MultiAuth calls next only once and ignores the result, assuming the auth_flow method does everything in one shot and changes the request in-place. It doesn't follow the upstream protocol at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions