adobe / adobe/aio-cli

Safari: `aio login -f` command does not exit

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

Description

This only occurs when Safari is your default browser. Everything is fine in Chrome.
Note that Safari has an additional login step where the user needs to click on a link to login in the webpage.

### Expected Behaviour

`aio login -f` command exits after a successful login, to a fresh new prompt

### Actual Behaviour

`aio login -f` command does not exit after a successful login, to a fresh new prompt

### Workaround

Ctrl-C to exit

```
System:
OS: macOS 11.1
CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
Memory: 677.75 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.16.0 - ~/.nvm/versions/node/v12.16.0/bin/node
Yarn: 1.22.5 - ~/.nvm/versions/node/v12.16.0/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v12.16.0/bin/npm
Virtualization:
Docker: 20.10.2 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 5.0.1
```

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.