adobe / adobe/aio-cli

fix: aio logout from browser, add more info to login web page

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

Description

Right now `aio logout` will not log you out in a browser context.
When the command is run, we should spawn a browser instance and go to the IMS url to logout a user. Provide a flag to opt-out of this behaviour for headless use cases.

Also the web page that says you are logged in, should have a link to log you out as well.
Additionally, that same web page can show what org/env you are in.

Contributor guide

Open the contributing guide

Research direction

Trace the `aio logout` command and the login web page, then identify the IMS URL and existing browser and headless paths. Done means browser logout works by default, an opt-out flag supports headless use, and the logged-in page links to logout and shows the current organization and environment; no files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.