cli icon indicating copy to clipboard operation
cli copied to clipboard

Unable to change account when creating sso profiles

Open Meroje opened this issue 1 year ago • 1 comments

Version

Fastly CLI version v10.8.5 (d451b709) Built with go version go1.22.0 linux/amd64 (2024-03-11)

What happened

I have multiple fastly accounts that I want to setup an SSO profile for. I run fastly profile create bar --sso then fastly profile create foo --sso. Both profiles are setup to the same account because the second command did not get a prompt to confirm the account. Instead it implicitly accepted my current browser session and redirected to the "Authenticated successfully. Please close this page and return to the Fastly CLI in your terminal." page.

Meroje avatar Mar 11 '24 14:03 Meroje

Thanks @Meroje for opening this issue. We are aware of this issue and are actively tracking it internally. We'll be sure to update this GitHub issue once a resolution has been implemented.

Integralist avatar Mar 11 '24 14:03 Integralist

There have been a number of SSO and profile related changes in the most recent releases; could you re-test the scenario above and see if there is still a problem? Thanks.

kpfleming avatar Jun 24 '24 17:06 kpfleming

👋🏻

I believe this issue to be resolved with the latest CLI release so I'll close this issue.

@Meroje if you run into any problems, then please either open a new issue or re-open this one if the error is still relevant.

Thanks!

Integralist avatar Jun 25 '24 05:06 Integralist