From 2a643b59ea2059db3f2d79daff4e3c36231f6297 Mon Sep 17 00:00:00 2001 From: Shawn Mclean Date: Tue, 12 Jan 2021 19:43:09 -0600 Subject: [PATCH] Revert "Add MFA scopes (#100)" (#101) This reverts commit e0dc1c45f14cfa7679db401ddda09a8c28822bb9. --- package-lock.json | 2 +- package.json | 2 +- server/index.js | 4 +--- webtask-templates/bitbucket.json | 4 ++-- webtask-templates/github.json | 4 ++-- webtask-templates/gitlab.json | 4 ++-- webtask-templates/visualstudio.json | 4 ++-- 7 files changed, 11 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 017cea7..7538788 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "auth0-deploy-extensions", - "version": "3.8.0", + "version": "3.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ba18aac..16c3afd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-deploy-extensions", - "version": "3.8.0", + "version": "3.7.1", "description": "Auth0 Deployment Extensions", "engines": { "node": "5.9.0" diff --git a/server/index.js b/server/index.js index d96ce5a..c0fbf9e 100644 --- a/server/index.js +++ b/server/index.js @@ -94,9 +94,7 @@ module.exports = (configProvider, storageProvider) => { 'read:hooks', 'update:hooks', 'delete:hooks', - 'create:hooks', - 'read:mfa_policies', - 'update:mfa_policies' + 'create:hooks' ].join(' ') })); diff --git a/webtask-templates/bitbucket.json b/webtask-templates/bitbucket.json index 8d39c4c..12531d3 100644 --- a/webtask-templates/bitbucket.json +++ b/webtask-templates/bitbucket.json @@ -1,7 +1,7 @@ { "title": "Bitbucket Deployments", "name": "auth0-bitbucket-deploy", - "version": "3.8.0", + "version": "3.7.1", "preVersion": "2.10.0", "author": "auth0", "description": "This extension gives Auth0 customers the possibility to deploy Hosted Pages, Rules and Custom Database Connections from Bitbucket.", @@ -16,7 +16,7 @@ "auth0": { "createClient": true, "onUninstallPath": "/.extensions/on-uninstall", - "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks read:mfa_policies update:mfa_policies" + "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks" }, "secrets": { "REPOSITORY": { diff --git a/webtask-templates/github.json b/webtask-templates/github.json index e0f9f4f..ccae80b 100644 --- a/webtask-templates/github.json +++ b/webtask-templates/github.json @@ -1,7 +1,7 @@ { "title": "GitHub Deployments", "name": "auth0-github-deploy", - "version": "3.8.0", + "version": "3.7.1", "preVersion": "2.10.0", "author": "auth0", "description": "This extension gives Auth0 customers the possibility to deploy Pages, Rules and Custom Database Connections from GitHub.", @@ -16,7 +16,7 @@ "auth0": { "createClient": true, "onUninstallPath": "/.extensions/on-uninstall", - "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks read:mfa_policies update:mfa_policies" + "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks" }, "secrets": { "REPOSITORY": { diff --git a/webtask-templates/gitlab.json b/webtask-templates/gitlab.json index 00caf12..fe7407c 100644 --- a/webtask-templates/gitlab.json +++ b/webtask-templates/gitlab.json @@ -1,7 +1,7 @@ { "title": "GitLab Deployments", "name": "auth0-gitlab-deploy", - "version": "3.8.0", + "version": "3.7.1", "preVersion": "2.11.0", "author": "auth0", "description": "This extension gives Auth0 customers the possibility to deploy Hosted Pages, Rules and Custom Database Connections from GitLab.", @@ -16,7 +16,7 @@ "auth0": { "createClient": true, "onUninstallPath": "/.extensions/on-uninstall", - "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks read:mfa_policies update:mfa_policies" + "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks" }, "secrets": { "REPOSITORY": { diff --git a/webtask-templates/visualstudio.json b/webtask-templates/visualstudio.json index 5e71745..9520ee6 100644 --- a/webtask-templates/visualstudio.json +++ b/webtask-templates/visualstudio.json @@ -1,7 +1,7 @@ { "title": "Visual Studio Team Services Deployments", "name": "auth0-visualstudio-deploy", - "version": "3.8.0", + "version": "3.7.1", "preVersion": "2.9.0", "author": "auth0", "description": "This extension gives Auth0 customers the possibility to deploy Hosted Pages, Rules and Custom Database Connections from Visual Studio Team Services.", @@ -16,7 +16,7 @@ "auth0": { "createClient": true, "onUninstallPath": "/.extensions/on-uninstall", - "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks read:mfa_policies update:mfa_policies" + "scopes": "read:client_grants create:client_grants delete:client_grants update:client_grants read:clients update:clients delete:clients create:clients read:client_keys update:client_keys delete:client_keys create:client_keys read:connections update:connections delete:connections create:connections read:resource_servers update:resource_servers delete:resource_servers create:resource_servers read:rules update:rules delete:rules create:rules read:rules_configs update:rules_configs delete:rules_configs read:email_provider update:email_provider delete:email_provider create:email_provider read:tenant_settings update:tenant_settings read:grants delete:grants read:guardian_factors update:guardian_factors read:mfa_policies update:mfa_policies read:email_templates create:email_templates update:email_templates read:roles update:roles delete:roles create:roles read:hooks update:hooks delete:hooks create:hooks" }, "secrets": { "TYPE": {