You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
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.
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.