-
Notifications
You must be signed in to change notification settings - Fork 87
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
feat: WebAuthN support #966
base: master
Are you sure you want to change the base?
Conversation
feat: WebAuthN Sign In, Sign Up and Options methods support
* added missing tests * add reject support for api calls * added todos for updating to latest cdi version when skipping tests --------- Co-authored-by: Victor Bojica <[email protected]>
✅ Deploy Preview for astounding-pegasus-21c111 canceled.
|
✅ Deploy Preview for precious-marshmallow-968a81 canceled.
|
.circleci/config_continue.yml
Outdated
@@ -127,7 +150,7 @@ workflows: | |||
tags: | |||
only: /dev-v[0-9]+(\.[0-9]+)*/ | |||
branches: | |||
only: /test-cicd\/.*/ | |||
only: /test-cicd\/.*|feat\/webauthn\/base/ |
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.
please revert these
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.
done
LINKING_TO_SESSION_USER_FAILED: { | ||
EMAIL_VERIFICATION_REQUIRED: | ||
"Cannot sign in / up due to security reasons. Please contact support. (ERR_CODE_013)", | ||
"Cannot sign in / up due to security reasons. Please contact support. (ERR_CODE_26)", |
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.
please update the code to match the original format (3digits, leftpadded with 0)
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.
done
lib/ts/recipe/webauthn/recipe.ts
Outdated
// If the loginmethod associated with the session has an email address, we move it to the top of the list (if it's already in the list) | ||
if (sessionLoginMethod.email !== undefined && result.includes(sessionLoginMethod.email)) { | ||
result = [ | ||
sessionLoginMethod.email, | ||
...result.filter((email) => email !== sessionLoginMethod!.email), | ||
]; | ||
} |
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.
I think we should keep this part.
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.
done
…d pad error codes
This reverts commit d14c29b.
Summary of change
(A few sentences about this PR)
Related issues
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.json
file has been updated (if needed)lib/ts/version.ts
frontendDriverInterfaceSupported.json
file has been updated (if needed)package.json
package-lock.json
lib/ts/version.ts
npm run build-pretty
recipe/thirdparty/providers/configUtils.ts
file,createProvider
function.git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.add-ts-no-check.js
file to include thatsomeFunc: function () {..}
).exports
inpackage.json
Remaining TODOs for this PR