mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[EC-598] fix: temporarily remove origin check
This commit is contained in:
@@ -10,7 +10,6 @@ import {
|
|||||||
CredentialRegistrationResult,
|
CredentialRegistrationResult,
|
||||||
Fido2Service as Fido2ServiceAbstraction,
|
Fido2Service as Fido2ServiceAbstraction,
|
||||||
NoCredentialFoundError,
|
NoCredentialFoundError,
|
||||||
OriginMismatchError,
|
|
||||||
} from "../../abstractions/fido2/fido2.service.abstraction";
|
} from "../../abstractions/fido2/fido2.service.abstraction";
|
||||||
import { CipherType } from "../../enums/cipherType";
|
import { CipherType } from "../../enums/cipherType";
|
||||||
import { Utils } from "../../misc/utils";
|
import { Utils } from "../../misc/utils";
|
||||||
@@ -133,9 +132,10 @@ export class Fido2Service implements Fido2ServiceAbstraction {
|
|||||||
throw new NoCredentialFoundError();
|
throw new NoCredentialFoundError();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (credential.origin !== params.origin) {
|
// TODO: Google doesn't work with this. Look into how we're supposed to check this
|
||||||
throw new OriginMismatchError();
|
// if (credential.origin !== params.origin) {
|
||||||
}
|
// throw new OriginMismatchError();
|
||||||
|
// }
|
||||||
|
|
||||||
await this.fido2UserInterfaceService.confirmCredential(credential.credentialId.encoded);
|
await this.fido2UserInterfaceService.confirmCredential(credential.credentialId.encoded);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user