aio-cli icon indicating copy to clipboard operation
aio-cli copied to clipboard

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

Open shazron opened this issue 4 years ago • 2 comments

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.

shazron avatar Dec 08 '21 20:12 shazron

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1433

aiojbot avatar Dec 08 '21 20:12 aiojbot

Not sure if we can get org, but we can front-end logout via: <ENV>/ims/logout/v1/?client_id=aio-cli-console-auth&redirect_uri=https://aio-login.adobeioruntime.net/api/v1/web/default/applogin/signed-out

The redirect_uri above must be allow-listed in the IMSS portal.

shazron avatar Oct 12 '22 05:10 shazron