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

Cancelling passkey sign in in Firefox generates non-localized error #3756

Open
Burnett2k opened this issue Dec 2, 2024 · 0 comments
Open
Labels

Comments

@Burnett2k
Copy link

Describe the bug

In Chrome and Safari, you can customize the error a user sees when they cancel passkey sign in after being prompted. This message is stored in the key oie.browser.error.NotAllowedError. However, if user takes the same action on Firefox, they receive a different error message that cannot be localized ("The operation was aborted.").

Reproduction Steps

  1. Create okta environment with webauthn / passkeys enabled.
  2. Create a passkey for an existing user.
  3. Attempt to sign in with the passkey.
  4. When prompted for passkey, click cancel.
  5. In Firefox, it shows "The operation was aborted.". In other browsers it shows whatever you have placed for a value using the oie.browser.error.NotAllowedError key.

SDK Versions

System:
OS: macOS 14.6.1
CPU: (8) arm64 Apple M1 Pro
Memory: 77.36 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v18.19.0/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
pnpm: 8.6.7 - ~/.yarn/bin/pnpm
Browsers:
Chrome: 131.0.6778.86
Safari: 18.1.1

Additional Information

Should have consistent error messaging amongst browsers and allow for the error messages to be customized per language.

Screenshot 2024-12-02 at 15 14 18
@Burnett2k Burnett2k added the bug label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant