debug: Ajouter logs de debugging pour WebAuthn
- Ajouter logs pour vérifier isSecureContext, navigator.credentials, protocol - Debugger pourquoi WebAuthn n'est pas déclenché malgré HTTPS - Identifier si le problème vient de la disponibilité ou de la configuration
This commit is contained in:
parent
066580f8d6
commit
0a84381d4f
@ -2535,6 +2535,12 @@ async function onCreateButtonClick() {
|
|||||||
|
|
||||||
// Initialize WebAuthn credentials immediately on user click
|
// Initialize WebAuthn credentials immediately on user click
|
||||||
try {
|
try {
|
||||||
|
console.log('🔍 DEBUG: Testing WebAuthn availability...');
|
||||||
|
console.log('🔍 DEBUG: isSecureContext:', window.isSecureContext);
|
||||||
|
console.log('🔍 DEBUG: hasCredentials:', !!navigator.credentials);
|
||||||
|
console.log('🔍 DEBUG: hasCreate:', !!navigator.credentials?.create);
|
||||||
|
console.log('🔍 DEBUG: protocol:', window.location.protocol);
|
||||||
|
|
||||||
const { secureCredentialsService } = await import('../services/secure-credentials.service');
|
const { secureCredentialsService } = await import('../services/secure-credentials.service');
|
||||||
updateCreatorStatus('🔐 Requesting browser authentication...');
|
updateCreatorStatus('🔐 Requesting browser authentication...');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user