-
Notifications
You must be signed in to change notification settings - Fork 69
Allow account linking via a code #8358
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
base: master
Are you sure you want to change the base?
Conversation
|
--- Adds a feature to create account linking codes. These will be used with native apps to link existing accounts to the passkeys created on these devices.
a7ee110
to
254e6c6
Compare
// | ||
// ---- Initialise new identity to link ---- | ||
// | ||
let (new_principal, new_pub_key) = random_delegated_principal(canister_ids.sign_in_with_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'm slightly confused about the requirements for the canister id here. It's later validated on the backend, and it must be from expected set of canister ids. Could anyone shed a bit of light on this?
I've not used Webauthn key here, would that yield a different result if I had used a different canister id here?
@@ -49,6 +49,6 @@ function cleanup() { | |||
|
|||
trap cleanup EXIT | |||
|
|||
cargo test --package integration_tests $TESTNAME -- --test-threads $TEST_THREADS || exit 1 | |||
cargo test --package integration_tests $TESTNAME -- --nocapture --test-threads $TEST_THREADS || exit 1 |
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.
Could we keep this 🤔 ? I find it useful sometimes if I want to println! something in the test... Is there a different way you'd recommend?
Adds a feature to create account linking codes. These will be used with native apps to link existing accounts to the passkeys created on these devices.