summaryrefslogtreecommitdiff
path: root/internal/oauth
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oauth')
-rw-r--r--internal/oauth/oauth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go
index 9233448..f88e7e9 100644
--- a/internal/oauth/oauth.go
+++ b/internal/oauth/oauth.go
@@ -168,7 +168,7 @@ func (oauth *OAuth) setupListener() error {
oauth.session.Context = context.Background()
// create a listener
- listener, listenerErr := net.Listen("tcp", ":0")
+ listener, listenerErr := net.Listen("tcp", "127.0.0.1:0")
if listenerErr != nil {
return types.NewWrappedError(errorMessage, listenerErr)
}