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

◠ Logging in...goto: url must be a non-empty string #28

Open
shamoons opened this issue Sep 5, 2019 · 1 comment
Open

◠ Logging in...goto: url must be a non-empty string #28

shamoons opened this issue Sep 5, 2019 · 1 comment

Comments

@shamoons
Copy link

shamoons commented Sep 5, 2019

My config.json is:

{
    "awsConfigPath": "/.aws/credentials",
    "outputFormat": "json",
    "region": "us-west-1",
    "provider": "okta",
    "accounts": {
        "development": {
            "accountNumber": "NICETRY",
            "idpEntryUrl": "https://myorg.okta.com/home/amazon_aws/somestuff/numbers"
        }
    },
    "defaultAccount": "development"
}

But when I run it, I get an error:

Earnest AWS Token Generator

? Okta username (ex. [email protected]): [email protected]
? Okta password: ********************
  ◠ Logging in...goto: `url` must be a non-empty string
@talf
Copy link

talf commented Dec 25, 2019

I found that moving the idpEntryUrl to the global section works for me. (Got a single AWS app in Okta - so It's fine with my use-case)
I'm also passing the --profile parameter. Otherwise, it always falls back to the "defaultAccount" naming.

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

No branches or pull requests

2 participants