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

saml2aws exec does not work if not logged in #54

Closed
hoegertn opened this issue Aug 22, 2017 · 0 comments
Closed

saml2aws exec does not work if not logged in #54

hoegertn opened this issue Aug 22, 2017 · 0 comments

Comments

@hoegertn
Copy link
Contributor

$ saml2aws exec bash
Adding osx helper
NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
error validating token
github.com/versent/saml2aws/cmd/saml2aws/commands.Exec
	/Users/markw/Code/go/src/github.com/versent/saml2aws/cmd/saml2aws/commands/exec.go:26
main.main
	/Users/markw/Code/go/src/github.com/versent/saml2aws/cmd/saml2aws/main.go:75
runtime.main
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:185
runtime.goexit
	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197

It happens in the checkToken function. It should handle more AWS errors by going to login.

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

No branches or pull requests

2 participants