Skip to content
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

OKTA + AWS GovCloud -- "unsupported protocol scheme" #475

Closed
duckfez opened this issue Apr 7, 2020 · 0 comments · Fixed by #476
Closed

OKTA + AWS GovCloud -- "unsupported protocol scheme" #475

duckfez opened this issue Apr 7, 2020 · 0 comments · Fixed by #476

Comments

@duckfez
Copy link
Contributor

duckfez commented Apr 7, 2020

Getting an error "unsupported protocol scheme" when attempting to authenticate for AWS GovCloud.

$ /usr/local/bin/saml2aws -a govcloud login
Using IDP Account govcloud to access Okta https://foobar.okta.com/home/amazon_aws/0oa3e1gtozzfDFAel297/272
To use saved password just hit enter.
? Username user.name
? Password *******************

Authenticating as user.name ...

Waiting for approval, please check your Okta Verify app ...... Approved

error authenticating to IdP: error following: Post "/saml": unsupported protocol scheme ""

Config file:

[govcloud]
app_id               =
url                  = https://foobar.okta.com/home/amazon_aws/0oa3e1gtozzfDFAel297/272
username             = user.name
provider             = Okta
mfa                  = OKTA
skip_verify          = false
timeout              = 0
aws_urn              = https://signin.amazonaws-us-gov.com/saml
aws_session_duration = 3600
aws_profile          = govcloud
resource_id          =
subdomain            =
role_arn             = arn:aws-us-gov:iam::12345:role/user/rolename
http_attempts_count  =
http_retry_delay     =

Fundamentally the same configuration works with the same OKTA tenant in AWS commercial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant