-
Notifications
You must be signed in to change notification settings - Fork 324
Description
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
- Create okta environment with webauthn / passkeys enabled.
- Create a passkey for an existing user.
- Attempt to sign in with the passkey.
- When prompted for passkey, click cancel.
- 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.
