Skip to content

Commit

Permalink
Merge pull request #869 from ebarti/master
Browse files Browse the repository at this point in the history
fix: rename needed flags for Onelogin
  • Loading branch information
wolfeidau authored Nov 28, 2022
2 parents b724148 + e1c3c6c commit 0d135dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/saml2aws/commands/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func storeCredentials(configFlags *flags.CommonFlags, account *cfg.IDPAccount) e
}
if account.Provider == onelogin.ProviderName {
if configFlags.ClientID == "" || configFlags.ClientSecret == "" {
log.Println("OneLogin provider requires --client_id and --client_secret flags to be set.")
log.Println("OneLogin provider requires --client-id and --client-secret flags to be set.")
os.Exit(1)
}
if err := credentials.SaveCredentials(path.Join(account.URL, OneLoginOAuthPath), configFlags.ClientID, configFlags.ClientSecret); err != nil {
Expand Down

0 comments on commit 0d135dc

Please sign in to comment.