Post

Replies

Boosts

Views

Activity

iOS 14 asks for security key instead of touchId/faceId
When i setup navigator.credentials.create() everything works as expected (Safari asks for touch-id) and the credentials are created and saved. Later when performing the login using navigator.credentials.get() I am not able to force safari to ask for touchId. Instead it only wants a security key. return { 		publicKey: { 		challenge:"sampleChallenge", 		authenticatorSelection: { authenticatorAttachment: 'platform'}, 		attestation: 'direct', 		timeout: 15000, 		allowCredentials:[ 				{ 						type:'public-key', 						id:"sampleId", 						transports:['internal'] 				} 		] } } This is almost the same code as used in the wwdc video, except that I added authenticatorSelection, attestation and timeout. In credentials.create() I noticed that authenticatorAttachment="platform" is important to force touchId. But in credentials.get() this did not help. Has anyone already built a full demo that is working for ios? I wonder also why the code from the "shiny" demo app from the wwdc video is not available for download somewhere! This would be really helpful for developers!
2
0
1.5k
Jul ’20