Closed N426ER closed 2 years ago
This is because the AWS Management Console temporarily returns an incorrect CSP. With the Content Security Policy (form-action 'none'), the switch role history links in the AWS MC page would not work either. In any case, it cannot be handled by the extension.
When clicking on a role to switch to, the extension silently fails to respond. An inspection of the console shows there is a csp issue preventing the action:
Refused to send form data to '[https://signin.aws.amazon.com/switchrole'](https://signin.aws.amazon.com/switchrole%27) because it violates the following Content Security Policy directive: "form-action 'none'".
2.3.1
Version 104.0.5112.101 (Official Build) (arm64).
Worth noting, there is a support post on the Chrome web store that demonstrates a similar issue with a different error message:
/systems-manager/home?region=us-east-1#:1 Refused to send form data to 'https://signin.aws.amazon.com/switchrole' because it violates the following Content Security Policy directive: "form-action https://us-east-1.signin.aws.a".