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

Commit

Permalink
Fix: webauthn platform (#132)
Browse files Browse the repository at this point in the history
* fix: add webauthn platform as a supported factor (#128)

* 4.4.2

Co-authored-by: Jarrett Helton <[email protected]>
  • Loading branch information
turcottedanny and JayHelton authored Mar 10, 2021
1 parent 80e3757 commit f4a3500
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth0-source-control-extension-tools",
"version": "4.4.1",
"version": "4.4.2",
"description": "Supporting tools for the Source Control extensions",
"main": "lib/index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ constants.GUARDIAN_FACTORS = [
'otp',
'email',
'duo',
'webauthn-roaming'
'webauthn-roaming',
'webauthn-platform'
];
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 @@ -62,7 +62,8 @@ describe('#guardianFactors handler', () => {
{ name: 'otp', enabled: true },
{ name: 'email', enabled: true },
{ name: 'duo', enabled: false },
{ name: 'webauthn-roaming', enabled: false }
{ name: 'webauthn-roaming', enabled: false },
{ name: 'webauthn-platform', enabled: false }
];

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

const auth0 = {
Expand Down

0 comments on commit f4a3500

Please sign in to comment.