adobe / adobe/aio-cli-plugin-app

aio app init fails if the stored IMS token is invalid

Open
#386 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
28
Forks
41
Avg merge
1d 2h
Merged PRs (30d)
3

Description

**Describe the bug**
`aio app init` fails with a non-friendly user-message if the stored IMS token is invalid.

**To Reproduce**
Edit your global `.aio` config file containing a persisted IMS token after a successful `aio login`.
Modify the token.
Try `aio app init`
The CLI outputs an error message but there's no solution proposed to the end-user

**Expected behavior**
As an end-user, I'd expect at least to know what to do (i.e. `aio login` again).
We could also run `aio login` automatically such as it is the case when the token has expired.

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.