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 progressive enrolment of passkey for JIT-Provisioned federated user #128
Fix progressive enrolment of passkey for JIT-Provisioned federated user #128
Conversation
Hi, Username less authentication
Username based authentication
Basic AuthenticationPass Key as first factor
Passkey as second factor
Email OTPPass Key as first factor
Passkey as second factor
Google FederationPass Key as first factor
Passkey as second factor
Based on the test results, I am approving the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -1278,4 +1278,12 @@ public boolean isFidoKeyRegistered (String username) throws AuthenticationFailed | |||
throw new AuthenticationFailedException(e.getMessage()); | |||
} | |||
} | |||
|
|||
public boolean isFidoKeyRegistered (AuthenticatedUser authenticatedUser) throws AuthenticationFailedException { | |||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can add a line after method signature
} | ||
// Have to set idpName to the context since | ||
// the FederatedAuthenticatorUtil.getLocalUsernameAssociatedWithFederatedUser is expecting it. | ||
context.setProperty("idpName", authenticatedUser.getFederatedIdPName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can have a constant for idpName
Resolves wso2/product-is#18774