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

Fix client no retry on good token #171

Conversation

cviecco
Copy link
Contributor

@cviecco cviecco commented Jun 17, 2022

  1. The okta 2fa cope did not return an error message when no valid autneticators where available
  2. When both mfa AND token failed the client did not termiate on error conditins

@cviecco cviecco requested a review from rgooch June 17, 2022 15:31
@cviecco cviecco requested review from rgooch and removed request for rgooch June 17, 2022 15:32
@@ -362,6 +362,7 @@ func setupCerts(

}
}
logger.Debugf(1, "SetupCerts: authenticaiton Complete")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/authenticaiton/authentication/

}
if len(userResponse.Embedded.Factor) < 1 {
logger.Printf("oktaPushStartHandler: user %s does not have valid authenticators", authData.Username)
logger.Debugf(2, "oktaPushStartHandler: usedata for broken user%s is :%s", authData.Username, userResponse)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/usedata/userdata/ ?

if err != nil {
return PushResponseRejected, err
}
if userResponse == nil {
return PushResponseRejected, nil
}
pa.logger.Debugf(2, "oktaAuthenticator: validsteUserPush: after getting userResponse=%+v", userResponse)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validste?

@rgooch
Copy link
Member

rgooch commented Jun 15, 2024

Is this PR still needed? Review comments are still open.

@cviecco
Copy link
Contributor Author

cviecco commented Jun 23, 2024

Closed with new revision reopened

@cviecco cviecco closed this Jun 23, 2024
@rgooch
Copy link
Member

rgooch commented Jun 23, 2024

Changes in PR #240.

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 this pull request may close these issues.

2 participants