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(security-key) improve ux when email does not have a security key set up #393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

edlerd
Copy link
Contributor

@edlerd edlerd commented Dec 16, 2024

fixes #383

@edlerd edlerd requested a review from a team as a code owner December 16, 2024 14:51
@edlerd edlerd force-pushed the security-key-method branch 3 times, most recently from 1f82aca to 0509b1a Compare December 17, 2024 17:29
ui/components/NodeInputText.tsx Outdated Show resolved Hide resolved
ui/pages/login.tsx Outdated Show resolved Hide resolved
…set up. fixes canonical#383

Signed-off-by: David Edler <david.edler@canonical.com>
@edlerd edlerd force-pushed the security-key-method branch from 0509b1a to db631fb Compare December 18, 2024 10:59
@edlerd edlerd requested a review from BarcoMasile December 18, 2024 10:59
Copy link
Contributor

@nsklikas nsklikas left a comment

Choose a reason for hiding this comment

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

Code looks fine, BUT I think that the UX on this feels weird.

Intuitively the email and password are used when clicking the Sign in button. But it turns out that the email is used also when clicking the Sign in with passkey button.

This feels like inconsistent behavior, why don't we also send the email to the idp when the user logs in using oidc?

@edlerd
Copy link
Contributor Author

edlerd commented Dec 18, 2024

This feels like inconsistent behavior, why don't we also send the email to the idp when the user logs in using oidc?

I wasn't aware there is a way to send the email when starting the flow with an OIDC provider. I'd consider it out of scope of the bug for this PR. We can create an issue with improvement tag for this.

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.

Incorrect error if a security key method is not set up for the email address
3 participants