diff --git a/package.json b/package.json index 70971ab..16c3afd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-deploy-extensions", - "version": "3.7.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 46c4fd6..c0fbf9e 100644 --- a/server/index.js +++ b/server/index.js @@ -46,7 +46,56 @@ module.exports = (configProvider, storageProvider) => { clientName: `${process.env.A0EXT_PROVIDER} Deploy Extension`, urlPrefix: '/admins', sessionStorageKey: `${process.env.A0EXT_PROVIDER}-deploy:apiToken`, - scopes: config('AUTH0_SCOPES') + scopes: [ + 'read:client_grants', + 'create:client_grants', + 'delete:client_grants', + 'update:client_grants', + 'read:roles', + 'update:roles', + 'delete:roles', + 'create:roles', + '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:email_templates', + 'create:email_templates', + 'update:email_templates', + 'read:hooks', + 'update:hooks', + 'delete:hooks', + 'create:hooks' + ].join(' ') })); // Configure routes. diff --git a/webtask-templates/bitbucket.json b/webtask-templates/bitbucket.json index e706ea1..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.7.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.", diff --git a/webtask-templates/github.json b/webtask-templates/github.json index 6d9c333..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.7.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.", diff --git a/webtask-templates/gitlab.json b/webtask-templates/gitlab.json index b03e538..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.7.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.", diff --git a/webtask-templates/visualstudio.json b/webtask-templates/visualstudio.json index 297b22f..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.7.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.",