Created
September 12, 2020 20:42
-
-
Save duckfez/c346dcff94d7b2379e7cf52c38630c9c to your computer and use it in GitHub Desktop.
tiniest diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff commands/console.go | |
diff --git a/cmd/saml2aws/commands/console.go b/cmd/saml2aws/commands/console.go | |
index 972d861..968d2f6 100644 | |
--- a/cmd/saml2aws/commands/console.go | |
+++ b/cmd/saml2aws/commands/console.go | |
@@ -17,7 +17,7 @@ import ( | |
) | |
const ( | |
- federationURL = "https://signin.aws.amazon.com/federation" | |
+ federationURL = "https://signin.amazonaws-us-gov.com/federation" | |
issuer = "saml2aws" | |
) | |
@@ -155,7 +155,7 @@ func federatedLogin(creds *awsconfig.AWSCredentials, consoleFlags *flags.Console | |
return err | |
} | |
- destination := "https://console.aws.amazon.com/" | |
+ destination := "https://console.amazonaws-us-gov.com/" | |
loginURL := fmt.Sprintf( | |
"%s?Action=login&Issuer=%s&Destination=%s&SigninToken=%s", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment