Skip to content

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

@Burnett2k

Description

@Burnett2k

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions