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