If the user doesn't have an entry in the native AWS console role history list then none of the switch role links will work. They are missing the csrf token in the form request. When a switch role link is clicked the user is sent to the 400 Bad Request page.
A user may not have any roles in the native history list if:
they are starting from a fresh install
they have cleared all local data
Perhaps the configured switch role links should not be shown or shown as disabled (grayed out) if the csrf token cannot be extracted?
If the user doesn't have an entry in the native AWS console role history list then none of the switch role links will work. They are missing the csrf token in the form request. When a switch role link is clicked the user is sent to the 400 Bad Request page.
A user may not have any roles in the native history list if:
Perhaps the configured switch role links should not be shown or shown as disabled (grayed out) if the csrf token cannot be extracted?