infer type of algToKeyUriAlg from type of kcConfig + fix totp interface

- add more yarn dirs to .gitignore
This commit is contained in:
Thomas Silvestre
2023-04-06 17:50:26 +02:00
parent c1e0563eba
commit 564ffc2be9
4 changed files with 9 additions and 6 deletions

View File

@ -453,8 +453,8 @@ export const kcContextMocks: KcContext[] = [
manualUrl: "#",
totpSecret: "G4nsI8lQagRMUchH8jEG",
otpCredentials: [],
supportedApplications: ["FreeOTP", "Google Authenticator"],
policy: {
supportedApplications: ["FreeOTP", "Google Authenticator"],
algorithm: "HmacSHA1",
digits: 6,
lookAheadWindow: 1,