Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Hint to use add when password has changed #163

Merged
merged 1 commit into from
Jun 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (o *OktaClient) AuthenticateUser() error {
log.Debug("Step: 1")
err = o.Get("POST", "api/v1/authn", payload, &oktaUserAuthn, "json")
if err != nil {
return fmt.Errorf("Failed to authenticate with okta: %#v", err)
return fmt.Errorf("Failed to authenticate with okta. If your credentials have changed, use 'aws-okta add': %#v", err)
}

o.UserAuth = &oktaUserAuthn
Expand Down