u2f-api
u2f-api copied to clipboard
Safari is still not working
Hi. Safari >13 support was supposedly added to v 1.2.0, but I can't get it to work.
Safari support requires a match for navigator.userAgent.match( /Safari\/(1[3456789])/ )
, but this does not match the Safari user agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15
I am having the same issue. Looks like Apple changed the way the user agent lists Safari.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
I've created a PR https://github.com/grantila/u2f-api/pull/31 to update this. @grantila mind taking a look?