When trying to login to an AWS account using SSO like aws sso login --profile default), you get a code generated and are sent to this URL in a browser:
https://device.sso.us-east-1.amazonaws.com/?user_code=GENERATED_CODE
After checking the code is correct and clicking Confirm, it redirects to the Identity Provider (in our case Okta). However instead of going back to the AWS dashboard when the auth finishes, it redirects between AWS and Okta indefinitely.
I expected it to go to the AWS dashboard after the Identity Provider authentication was successful. This works as expected in Chrome, Firefox, and Safari.
0.99.126.3-rc
Sonoma (14)