Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Allow a separate bind address for the the local redirect server #201

Closed

Description

@gilesknap

Problem
When running inside of a container the local redirect server needs to bind to a different address than the the one supplied in the redirect URI. Binding to localhost in a container will only work if it is running on the host network.

Solution
Provide an optional argument to run_local_server which allows the bind address to specified separately to host. Default to host if it is not supplied.

Alternatives
The container can run with less secure --network=host but this is not available on some container runtimes.

Activity

  1. added a commit that references this issue on Aug 12, 2022
    b081043
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions