tilfinltd / aws-extend-switch-roles

Extend your AWS IAM switching roles by Chrome extension, Firefox add-on, or Edge add-on
https://goo.gl/0QFjow
MIT License
1.31k stars 140 forks source link

Role assumption paths are truncated #324

Closed tayopal closed 8 months ago

tayopal commented 8 months ago

Describe the bug I have been using the plugin for 2 years with success. After the latest update, my coworkers and I have correctly-configured profiles that no longer work.

To Reproduce Steps to reproduce the behavior:

  1. Configure a pathed role as usual:
    [profile aws_one]
    role_arn = arn:aws:iam::########:role/sso/path/to/rolename
    color=441111
    region=us-east-1
  2. Load AWS console and attempt to switch roles
  3. See the AWS switch role dialog with truncated role name: sso Screenshot 2023-11-06 at 10 55 55 AM

Expected behavior Successful role assumption.

Environment

tilfin commented 8 months ago

That seems to be a bug. I will fix it.