-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssumeRoleWithSAML operation: Principal ARN is invalid #163
Comments
Hey I can help here. I had the same problem. The issue is the order you have entered the information in the google user profile. Doesn't work , works , |
issue is here: https://github.com/cevoaustralia/aws-google-auth/blob/master/aws_google_auth/amazon.py#L83 parsing for iam is not enough. it has to check for saml-provider |
There's actually another reason this can fail -- a space after the comma. I had configured A simple trim() on the values would avoid this. |
If you have a sample SAML response that we can write a test against to validate this, I'd be happy to included it in the codebase. I'm trying to increase the test coverage with real(ish) world examples to increase the resilience. |
@demon is right, I have just seen the problem because of a comma. |
Quite annoying issue, specially in large organizations where one does not have direct access to the google profile configuration... I created a PR to try to fix this. Happy to discuss changes 😀 |
While selecting a role and hitting enter, below error shows up. Any fix?
Type the number (1 - 2) of the role to assume: 2
The text was updated successfully, but these errors were encountered: