debug: Ajouter log très visible pour confirmer la nouvelle version
- Ajouter log 🚨🚨🚨 FORCING WEBAUTHN - NO FALLBACK 🚨🚨🚨 - Confirmer que la nouvelle version sans fallback est utilisée - Identifier si le problème vient du cache ou du déploiement
This commit is contained in:
parent
cc8a2ea708
commit
b8a35ea123
@ -105,12 +105,13 @@ export class SecureCredentialsService {
|
|||||||
const encryptedScanKey = await this.encryptKey(credentialData.scanKey, masterKey);
|
const encryptedScanKey = await this.encryptKey(credentialData.scanKey, masterKey);
|
||||||
|
|
||||||
// Forcer l'utilisation de WebAuthn (pas de fallback)
|
// Forcer l'utilisation de WebAuthn (pas de fallback)
|
||||||
|
console.log('🚨🚨🚨 FORCING WEBAUTHN - NO FALLBACK 🚨🚨🚨');
|
||||||
console.log('🔍 DEBUG: Forcing WebAuthn credential creation');
|
console.log('🔍 DEBUG: Forcing WebAuthn credential creation');
|
||||||
secureLogger.info('Forcing WebAuthn credential creation', {
|
secureLogger.info('Forcing WebAuthn credential creation', {
|
||||||
component: 'SecureCredentialsService',
|
component: 'SecureCredentialsService',
|
||||||
operation: 'webauthn_force'
|
operation: 'webauthn_force'
|
||||||
});
|
});
|
||||||
|
|
||||||
const credential = await navigator.credentials.create({
|
const credential = await navigator.credentials.create({
|
||||||
publicKey: {
|
publicKey: {
|
||||||
challenge: new Uint8Array(32),
|
challenge: new Uint8Array(32),
|
||||||
@ -132,7 +133,7 @@ export class SecureCredentialsService {
|
|||||||
attestation: 'direct'
|
attestation: 'direct'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
secureLogger.info('WebAuthn credential created successfully', {
|
secureLogger.info('WebAuthn credential created successfully', {
|
||||||
component: 'SecureCredentialsService',
|
component: 'SecureCredentialsService',
|
||||||
operation: 'webauthn_create'
|
operation: 'webauthn_create'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user