Open
Description
My local dev environment makes use of complex localhost FQDN's such as ..localhost (eg. prod.abc.localhost)
I had to alter line 583 in WebAuthn.php to the following to allow these domain names to work:
if ($this->_rpId !== 'localhost' && !\str_ends_with($this->_rpId, '.localhost') && \parse_url($origin, PHP_URL_SCHEME) !== 'https') {
return false;
}
Is anyone able to check this for security/compliance issues and submit a pull request (I'm happy to submit if someone can point me in the right direction)? I was able to use a Yubikey and TouchID locally after making this change.