You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lastly the checkOrigin() from WebAuthn will fail due to the regex when passing in https://domain.com/
this is not a bug, when you pass rpId at the constructor you have to add the domain name and not a URL, so the domain name of your example is just domain.com.
I'm not exactly saying this is a bug, but it might help some others out with migration.
First up the public certificate needs to be adjusted, and the rpId need to be matched to the kind of key use.
Second the u2f keyHandle needs to be fixed, and all known keys need to be put into the credentials.get (template code is Smarty, adjust as needed)
U2F stored the keyHandle in an url safe base64 format that causes issues. Easily fixed
PHP8 seems to have a problem with the getChallenge() method. Easy enough to store it as:
Lastly the checkOrigin() from WebAuthn will fail due to the regex when passing in https://domain.com
Realistically there should be a better check for this or a flag, but a quick fix is simply
I also found Chrome doesn't follow the standards, and a lot of defaults are ignored and are instead required.
The text was updated successfully, but these errors were encountered: