Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
adding webauthn
Browse files Browse the repository at this point in the history
  • Loading branch information
JayHelton committed May 11, 2021
1 parent 1d2dbbc commit bcc587b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ constants.GUARDIAN_FACTORS = [
'email',
'duo',
'webauthn-roaming',
'webauthn-platform'
'webauthn-platform',
'recovery-code'
];
constants.GUARDIAN_POLICIES = [
'all-applications',
Expand Down
6 changes: 4 additions & 2 deletions tests/auth0/handlers/guardianFactors.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ describe('#guardianFactors handler', () => {
{ name: 'email', enabled: true },
{ name: 'duo', enabled: false },
{ name: 'webauthn-roaming', enabled: false },
{ name: 'webauthn-platform', enabled: false }
{ name: 'webauthn-platform', enabled: false },
{ name: 'recovery-code', enabled: false }
];

const auth0 = {
Expand All @@ -86,7 +87,8 @@ describe('#guardianFactors handler', () => {
{ name: 'email', enabled: true },
{ name: 'duo', enabled: false },
{ name: 'webauthn-roaming', enabled: false },
{ name: 'webauthn-platform', enabled: false }
{ name: 'webauthn-platform', enabled: false },
{ name: 'recovery-code', enabled: false }
];

const auth0 = {
Expand Down

0 comments on commit bcc587b

Please sign in to comment.