Destination URL parameter seems to be ignored after new tab is opened
blakemotl-RL opened this issue · 1 comments
Hello!
We were exploring using this feature of the AWS SSO console to generate links that take people straight to a codebuild run. It seems to work fine in chrome or in a private firefox window with the extension disabled but not when using the extension. The url format looks something like this: https://myaws.awsapps.com/start/#/console?account_id=012345678910&role_name=ReadOnly&destination=https://us-west-2.console.aws.amazon.com/codesuite/codebuild/012345678910/projects/deployment/build/deployment:aa0015aa-aaa3-4a8a-aaaa-5b1d4a1b9df3?region=us-west-2
The login happens and the tab is opened but it takes me to the console homepage not the codebuild output as its supposed to. Seems like the destination parameter is dropped somewhere along the way.
Some additional details from looking into this: It seems that the destination parameter in the response from portal.sso.us-east-2.amazonaws.com/federation/console is always the console home, even when not using the extension, yet when not using the extension the redirect happens properly. I'm not entirely sure why yet but its clear thats not the parameter we want to include in the call to us-east-2.signin.aws.amazon.com/federation.