Open
Description
openedon Jul 4, 2024
Steps to reproduce:
- Login with a webauthn device
IStore.getLoginCredentials
returns an array with a username and an empty password.
Technical debt
Code using getLoginCredentials has to check for null or empty string and also a couple of exceptions1.
Better: throw PasswordUnavailableException and have a clear way to signal a passwordless login.
Related: #35878
Footnotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment