Closed heliocola closed 1 year ago
@tcannonfodder : let me know if this proposed solution will work. If this is in the right direction, I will write some tests, and document the sessions controller concern.
FYI: I've found and fixed this first in another app I was working on and also tested (and replicated issue and solution) in the template app (https://github.com/ruby-passkeys/devise-passkeys-template/pull/16)
This PR is being replaced by https://github.com/ruby-passkeys/warden-webauthn/issues/7
Context
Sign in for Android phones are not working Fixes: https://github.com/ruby-passkeys/devise-passkeys-template/issues/12
In this PR
Sign in
new_challenge
method load the resource, when email is present, and returnallowCredentials
so Android phones can find a passkey for the website and request the biometrics.