-
Notifications
You must be signed in to change notification settings - Fork 564
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
govCloud requires alternate federation URL #533
Comments
Here's the list of govCloud specific endpoints: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-endpoints.html |
This issue is also affecting us; would appreciate any assistance in closing this gap. |
Same for us as well. |
I can make this work with the tiniest diff -- https://gist.github.com/duckfez/c346dcff94d7b2379e7cf52c38630c9c. But, then it doesn't work for the commercial regions. It seems to me like the right thing to do is probably to update .../commands/console.go to do some parsing of the value of I'll attempt a PR? |
use region= in config file as hint for where to open the console at.
My PR seems to fix this for govcloud. I tried to make it also work for AWS China partitions, but I don't have ability to test there. |
Hi, is there any update for this issue? |
Hello,
I am attempting to use
saml2aws console
to login directly to the AWS console after doing the authentication dance, however it is taking me to AWS Commercial for the federation endpoint, rather than to the govCloud endpoint.https://signin.amazonaws-us-gov.com/federation
I have set my region to
us-gov-west-1
and that works fine for logging in (the default does not work because once again it tries to exchange the SAML assertion at the wrong STS endpoint), but it seems that the federation URL is hardcoded and is not switched depending on the environment.The text was updated successfully, but these errors were encountered: