adobe / adobe/aio-cli-plugin-auth

aio auth login gives '127.0.0.1 refused to connect error' in wsl

Open
#89 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
4
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
`aio auth login` should redirect to the login page and the login should be successful

### Actual Behaviour
On running `aio auth login` in wsl
1. it opens the login page but says update to the latest CLI version even though the version is 9.2.0 (latest)
image
Screenshot 2023-04-14 144425

2. on clicking the link on the login page, it gives `127.0.0.1 refused to connect error`
Screenshot 2023-04-14 144744

The browser is Chrome Version `112.0.5615.87 (Official Build) (64-bit)`

### Reproduce Scenario (including but not limited to)

#### Steps to Reproduce

#### Environment Info
```
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (4) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 4.22 GB / 5.79 GB
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 18.15.0 - /usr/bin/node
Yarn: 1.22.19 - /mnt/c/Program Files (x86)/Yarn/bin/yarn
npm: 9.5.0 - /usr/bin/npm
Virtualization:
Docker: Not Found
npmGlobalPackages:
@adobe/aio-cli: 9.2.0
```
#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.