From c539a4738c4c91e6f48b409ff5bb8a2f5242baa8 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:57:10 +0530 Subject: [PATCH 1/9] Get client_grants added on Organization --- src/tools/auth0/handlers/organizations.ts | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index eec8c8ee..2b7d516f 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -1,5 +1,6 @@ import _ from 'lodash'; import { + Client, Connection, GetOrganizations200ResponseOneOfInner, PostEnabledConnectionsRequest, @@ -9,6 +10,7 @@ import { calculateChanges } from '../../calculateChanges'; import log from '../../../logger'; import { Asset, Assets, CalculatedChanges } from '../../../types'; import { paginate } from '../client'; +import { convertClientIdToName } from '../../../utils'; export const schema = { type: 'array', @@ -31,6 +33,16 @@ export const schema = { }, }, }, + client_grants: { + type: 'array', + items: { + type: 'object', + properties: { + grant_id: { type: 'string' }, + client_id: { type: 'string' }, + }, + }, + }, }, required: ['name'], }, @@ -228,12 +240,28 @@ export default class OrganizationsHandler extends DefaultHandler { } ); + const clients = await paginate(this.client.clients.getAll, { + paginate: true, + include_totals: true, + }); + for (let index = 0; index < organizations.length; index++) { const { data: connections } = await this.client.organizations.getEnabledConnections({ id: organizations[index].id, }); organizations[index].connections = connections; + + const { data: organizationClientGrants } = + await this.client.organizations.getOrganizationClientGrants({ + id: organizations[index].id, + }); + + organizations[index].client_grants = organizationClientGrants?.map((clientGrant) => ({ + grant_id: clientGrant.id, // TODO: remove this after development + client_id: convertClientIdToName(clientGrant.client_id, clients), + })); } + this.existing = organizations; return this.existing; } catch (err) { From 35e30e40c08274fd82b7292e8f5e731947f8ee3d Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:39:09 +0530 Subject: [PATCH 2/9] Get client_grants added on Organization --- src/tools/auth0/handlers/organizations.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index 2b7d516f..70e34f07 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -2,6 +2,7 @@ import _ from 'lodash'; import { Client, Connection, + GetOrganizationClientGrants200ResponseOneOfInner, GetOrganizations200ResponseOneOfInner, PostEnabledConnectionsRequest, } from 'auth0'; @@ -251,10 +252,9 @@ export default class OrganizationsHandler extends DefaultHandler { }); organizations[index].connections = connections; - const { data: organizationClientGrants } = - await this.client.organizations.getOrganizationClientGrants({ - id: organizations[index].id, - }); + const organizationClientGrants = await this.getOrganizationClientGrants( + organizations[index].id + ); organizations[index].client_grants = organizationClientGrants?.map((clientGrant) => ({ grant_id: clientGrant.id, // TODO: remove this after development @@ -337,4 +337,15 @@ export default class OrganizationsHandler extends DefaultHandler { }) ); } + + async getOrganizationClientGrants( + organizationId: string + ): Promise { + const { data: organizationClientGrants } = + await this.client.organizations.getOrganizationClientGrants({ + id: organizationId, + }); + + return organizationClientGrants; + } } From 169bdcba0df4431e39a147ecdac5c1ae79710a18 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Tue, 29 Oct 2024 18:52:14 +0530 Subject: [PATCH 3/9] org client_grants update, delete --- src/tools/auth0/handlers/organizations.ts | 125 ++++++++++++++++++++-- 1 file changed, 119 insertions(+), 6 deletions(-) diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index 70e34f07..0efc813c 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -1,6 +1,7 @@ import _ from 'lodash'; import { Client, + ClientGrant, Connection, GetOrganizationClientGrants200ResponseOneOfInner, GetOrganizations200ResponseOneOfInner, @@ -12,6 +13,7 @@ import log from '../../../logger'; import { Asset, Assets, CalculatedChanges } from '../../../types'; import { paginate } from '../client'; import { convertClientIdToName } from '../../../utils'; +import { cli } from 'winston/lib/winston/config'; export const schema = { type: 'array', @@ -39,19 +41,26 @@ export const schema = { items: { type: 'object', properties: { - grant_id: { type: 'string' }, client_id: { type: 'string' }, }, }, + default: [], }, }, required: ['name'], }, }; +type FormattedClientGrants = { + grant_id: string; + client_id: string; +}; + export default class OrganizationsHandler extends DefaultHandler { existing: Asset[]; + formattedClientGrants: FormattedClientGrants[]; + constructor(config: DefaultHandler) { super({ ...config, @@ -92,6 +101,7 @@ export default class OrganizationsHandler extends DefaultHandler { async createOrganization(org): Promise { const organization = { ...org }; delete organization.connections; + delete organization.client_grants; const { data: created } = await this.client.organizations.create(organization); @@ -103,6 +113,16 @@ export default class OrganizationsHandler extends DefaultHandler { ); } + if (typeof org.client_grants !== 'undefined' && org.client_grants.length > 0) { + await Promise.all( + org.client_grants.map((organizationClientGrants) => + this.createOrganizationClientGrants( + created.id, + this.getClientGrantIDByClientName(organizationClientGrants.client_id) + ) + ) + ); + } return created; } @@ -124,19 +144,20 @@ export default class OrganizationsHandler extends DefaultHandler { } async updateOrganization(org, organizations) { - const { connections: existingConnections } = await organizations.find( - (orgToUpdate) => orgToUpdate.name === org.name - ); + const { connections: existingConnections, client_grants: existingClientGrants } = + await organizations.find((orgToUpdate) => orgToUpdate.name === org.name); const params = { id: org.id }; - const { connections } = org; + const { connections, client_grants: organizationClientGrants } = org; delete org.connections; delete org.name; delete org.id; + delete org.client_grants; await this.client.organizations.update(params, org); + // organization connections const connectionsToRemove = existingConnections.filter( (c) => !connections.find((x) => x.connection_id === c.connection_id) ); @@ -203,9 +224,73 @@ export default class OrganizationsHandler extends DefaultHandler { ) ); + // organization client_grants + const orgClientGrantsToRemove = + existingClientGrants + ?.filter((c) => !organizationClientGrants?.find((x) => x.client_id === c.client_id)) + ?.map((clientGrant) => ({ + grant_id: this.getClientGrantIDByClientName(clientGrant.client_id), + })) || []; + + const orgClientGrantsToAdd = + organizationClientGrants + ?.filter((c) => !existingClientGrants?.find((x) => x.client_id === c.client_id)) + ?.map((clientGrant) => ({ + grant_id: this.getClientGrantIDByClientName(clientGrant.client_id), + })) || []; + + // Handle updates first + await Promise.all( + orgClientGrantsToAdd.map((orgClientGrant) => + this.createOrganizationClientGrants(params.id, orgClientGrant.grant_id).catch(() => { + throw new Error( + `Problem adding organization clientGrant ${orgClientGrant.grant_id} for organizations ${params.id}` + ); + }) + ) + ); + + await Promise.all( + orgClientGrantsToRemove.map((orgClientGrant) => + this.deleteOrganizationClientGrants(params.id, orgClientGrant.grant_id).catch(() => { + throw new Error( + `Problem removing organization clientGrant ${orgClientGrant.grant_id} for organizations ${params.id}` + ); + }) + ) + ); + return params; } + getClientGrantIDByClientName(clientsName: string): string { + const found = this.formattedClientGrants.find((c) => c.client_id === clientsName); + return found?.grant_id || ''; + } + + async getFormattedClientGrants(): Promise { + const [clients, clientGrants] = await Promise.all([ + paginate(this.client.clients.getAll, { + paginate: true, + include_totals: true, + }), + paginate(this.client.clientGrants.getAll, { + paginate: true, + include_totals: true, + }), + ]); + + // Convert clients by name to the id and store it in the formattedClientGrants + const formattedClientGrantsMapping = clientGrants?.map((clientGrant) => { + const { id, client_id: clientName } = clientGrant; + const grant = { grant_id: id, client_id: clientName }; + const found = clients.find((c) => c.client_id === grant.client_id); + if (found) grant.client_id = found.name; + return grant; + }); + return formattedClientGrantsMapping; + } + async updateOrganizations(updates: CalculatedChanges['update'], orgs: Asset[]): Promise { await this.client.pool .addEachTask({ @@ -257,7 +342,6 @@ export default class OrganizationsHandler extends DefaultHandler { ); organizations[index].client_grants = organizationClientGrants?.map((clientGrant) => ({ - grant_id: clientGrant.id, // TODO: remove this after development client_id: convertClientIdToName(clientGrant.client_id, clients), })); } @@ -301,6 +385,9 @@ export default class OrganizationsHandler extends DefaultHandler { .filter((connection) => !!connection.connection_id); }); + // store formated client_grants->client_id to client grant->grant_id mapping + this.formattedClientGrants = await this.getFormattedClientGrants(); + const changes = calculateChanges({ handler: this, assets: organizations, @@ -348,4 +435,30 @@ export default class OrganizationsHandler extends DefaultHandler { return organizationClientGrants; } + + async createOrganizationClientGrants( + organizationId: string, + grantId: string + ): Promise { + log.debug(`Creating organization client grant ${grantId} for organization ${organizationId}`); + const { data: organizationClientGrants } = + await this.client.organizations.postOrganizationClientGrants( + { + id: organizationId, + }, + { + grant_id: grantId, + } + ); + + return organizationClientGrants; + } + + async deleteOrganizationClientGrants(organizationId: string, grantId: string): Promise { + log.debug(`Deleting organization client grant ${grantId} for organization ${organizationId}`); + await this.client.organizations.deleteClientGrantsByGrantId({ + id: organizationId, + grant_id: grantId, + }); + } } From 722022c47d3102428d433fe703a17cb677f1c504 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Tue, 29 Oct 2024 18:59:39 +0530 Subject: [PATCH 4/9] organization handles updated --- src/tools/auth0/handlers/organizations.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index 0efc813c..171b49da 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -13,7 +13,6 @@ import log from '../../../logger'; import { Asset, Assets, CalculatedChanges } from '../../../types'; import { paginate } from '../client'; import { convertClientIdToName } from '../../../utils'; -import { cli } from 'winston/lib/winston/config'; export const schema = { type: 'array', @@ -52,7 +51,9 @@ export const schema = { }; type FormattedClientGrants = { + // eslint-disable-next-line camelcase grant_id: string; + // eslint-disable-next-line camelcase client_id: string; }; From b92cecbb574046e372245c04f9a1389d57415126 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:02:05 +0530 Subject: [PATCH 5/9] Add client_grants support to organizations and update test cases --- src/tools/auth0/handlers/organizations.ts | 18 ++-- test/context/directory/organizations.test.js | 33 ++++++- test/context/yaml/organizations.test.js | 40 +++++++++ .../auth0/handlers/organizations.tests.js | 86 +++++++++++++++++++ 4 files changed, 164 insertions(+), 13 deletions(-) diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index 171b49da..59ddaeb1 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -319,18 +319,16 @@ export default class OrganizationsHandler extends DefaultHandler { } try { - const organizations = await paginate( - this.client.organizations.getAll, - { + const [organizations, clients] = await Promise.all([ + paginate(this.client.organizations.getAll, { paginate: true, include_totals: true, - } - ); - - const clients = await paginate(this.client.clients.getAll, { - paginate: true, - include_totals: true, - }); + }), + paginate(this.client.clients.getAll, { + paginate: true, + include_totals: true, + }), + ]); for (let index = 0; index < organizations.length; index++) { const { data: connections } = await this.client.organizations.getEnabledConnections({ diff --git a/test/context/directory/organizations.test.js b/test/context/directory/organizations.test.js index e7b21004..953aa355 100644 --- a/test/context/directory/organizations.test.js +++ b/test/context/directory/organizations.test.js @@ -12,11 +12,13 @@ describe('#directory context organizations', () => { const files = { organizations: { 'acme.json': - '{ "name": "acme", "display_name": "acme", "branding": { "colors": { "primary": "#3678e2", "page_background": "#9c4949" } }, "connections":[{ "name": "google", "assign_membership_on_login": false, "show_as_button": false }]}', + '{ "name": "acme", "display_name": "acme", "branding": { "colors": { "primary": "#3678e2", "page_background": "#9c4949" } }, "connections":[{ "name": "google", "assign_membership_on_login": false, "show_as_button": false }], "client_grants": []}', 'contoso.json': - '{ "name": "contoso", "display_name": "contoso", "branding": { "colors": { "primary": "#3678e2", "page_background": "#9c4949" } }, "connections":[{ "name": "google", "assign_membership_on_login": false, "show_as_button": false }]}', + '{ "name": "contoso", "display_name": "contoso", "branding": { "colors": { "primary": "#3678e2", "page_background": "#9c4949" } }, "connections":[{ "name": "google", "assign_membership_on_login": false, "show_as_button": false }], "client_grants": []}', 'tast-org.json': - '{ "name": "atko", "display_name": "Atko", "branding": { "colors": { "primary": "#ededed", "page_background": "#191919" } }, "connections":[{ "name": "Username-Password-Authentication", "assign_membership_on_login": true, "show_as_button": true, "is_signup_enabled": true }]}', + '{ "name": "atko", "display_name": "Atko", "branding": { "colors": { "primary": "#ededed", "page_background": "#191919" } }, "connections":[{ "name": "Username-Password-Authentication", "assign_membership_on_login": true, "show_as_button": true, "is_signup_enabled": true }], "client_grants": []}', + 'test-org-snow.json': + '{ "name": "org-snow", "display_name": "snow", "branding": { "colors": { "primary": "#3678e2", "page_background": "#9c4949" } }, "connections":[{ "name": "google", "assign_membership_on_login": false, "show_as_button": false }], "client_grants": [ { "client_id": "Org Snow app" }]}', }, }; @@ -44,6 +46,7 @@ describe('#directory context organizations', () => { show_as_button: false, }, ], + client_grants: [], }, { name: 'contoso', @@ -61,6 +64,7 @@ describe('#directory context organizations', () => { show_as_button: false, }, ], + client_grants: [], }, { name: 'atko', @@ -79,6 +83,29 @@ describe('#directory context organizations', () => { is_signup_enabled: true, }, ], + client_grants: [], + }, + { + name: 'org-snow', + display_name: 'snow', + branding: { + colors: { + primary: '#3678e2', + page_background: '#9c4949', + }, + }, + connections: [ + { + name: 'google', + assign_membership_on_login: false, + show_as_button: false, + }, + ], + client_grants: [ + { + client_id: 'Org Snow app', + }, + ], }, ]; diff --git a/test/context/yaml/organizations.test.js b/test/context/yaml/organizations.test.js index 5eff820c..83a29018 100644 --- a/test/context/yaml/organizations.test.js +++ b/test/context/yaml/organizations.test.js @@ -25,6 +25,7 @@ describe('#YAML context organizations', () => { show_as_button: false is_signup_enabled: false display_name: acme + client_grants: [] - name: contoso branding: colors: @@ -36,6 +37,20 @@ describe('#YAML context organizations', () => { show_as_button: true is_signup_enabled: true display_name: contoso + client_grants: [] + - name: org-snow + branding: + colors: + primary: '#3678e2' + page_background: '#9c4949' + connections: + - connection_id: con_458 + assign_membership_on_login: true + show_as_button: true + is_signup_enabled: true + display_name: snow + client_grants: + - client_id: Org Snow app `; const target = [ @@ -56,6 +71,7 @@ describe('#YAML context organizations', () => { is_signup_enabled: false, }, ], + client_grants: [], }, { name: 'contoso', @@ -74,6 +90,30 @@ describe('#YAML context organizations', () => { is_signup_enabled: true, }, ], + client_grants: [], + }, + { + name: 'org-snow', + display_name: 'snow', + branding: { + colors: { + primary: '#3678e2', + page_background: '#9c4949', + }, + }, + connections: [ + { + connection_id: 'con_458', + assign_membership_on_login: true, + show_as_button: true, + is_signup_enabled: true, + }, + ], + client_grants: [ + { + client_id: 'Org Snow app', + }, + ], }, ]; diff --git a/test/tools/auth0/handlers/organizations.tests.js b/test/tools/auth0/handlers/organizations.tests.js index 931f96bc..73fb05b6 100644 --- a/test/tools/auth0/handlers/organizations.tests.js +++ b/test/tools/auth0/handlers/organizations.tests.js @@ -15,6 +15,7 @@ const sampleOrg = { id: '123', name: 'acme', display_name: 'Acme Inc', + client_grants: [], }; const sampleEnabledConnection = { @@ -27,6 +28,7 @@ const sampleEnabledConnection = { strategy: 'auth0', }, }; + const sampleEnabledConnection2 = { connection_id: 'con_456', assign_membership_on_login: false, @@ -37,6 +39,24 @@ const sampleEnabledConnection2 = { }, }; +const sampleOrgClientGrants = [ + { + client_id: 'abc_123', + }, +]; + +const sampleClients = [ + { name: 'test client', client_id: 'abc_123' }, + { name: 'deploy client', client_id: 'xyz_123' }, +]; + +const sampleClientGrant = { + audience: 'https://test.auth0.com/api/v2/', + client_id: 'abc_123', + id: 'cgr_0TLisL4eNHzhSR6j', + scope: ['read:logs'], +}; + describe('#organizations handler', () => { const config = function (key) { return config.data && config.data[key]; @@ -141,6 +161,13 @@ describe('#organizations handler', () => { expect(connection.is_signup_enabled).to.equal(true); return Promise.resolve({ data: connection }); }, + createOrganizationClientGrants: (orgId, clientGrants) => { + expect(orgId).to.equal('fake'); + expect(clientGrants).to.be.an('array'); + expect(clientGrants).to.have.length(1); + expect(clientGrants[0].client_id).to.equal('abc_123'); + return Promise.resolve({ data: clientGrants }); + }, }, connections: { getAll: (params) => @@ -158,6 +185,12 @@ describe('#organizations handler', () => { { id: 'con_999', name: 'Username', options: {} }, ]), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; @@ -188,6 +221,10 @@ describe('#organizations handler', () => { organizations: { getAll: (params) => Promise.resolve(mockPagedData(params, 'organizations', [sampleOrg])), getEnabledConnections: () => ({ data: [sampleEnabledConnection] }), + getOrganizationClientGrants: () => ({ data: sampleOrgClientGrants }), + }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), }, pool, }; @@ -214,6 +251,10 @@ describe('#organizations handler', () => { mockPagedData(params, 'organizations', [...organizationsPage2, ...organizationsPage1]) ), getEnabledConnections: () => Promise.resolve({ data: {} }), + getOrganizationClientGrants: () => ({ data: [] }), + }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), }, pool, }; @@ -242,6 +283,9 @@ describe('#organizations handler', () => { throw error; }, }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, pool, }; @@ -259,6 +303,9 @@ describe('#organizations handler', () => { throw error; }, }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, pool, }; @@ -299,6 +346,10 @@ describe('#organizations handler', () => { throw new Error('Unexpected'); }, getEnabledConnections: () => Promise.resolve({ data: [] }), + getOrganizationClientGrants: () => ({ data: [] }), + }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), }, pool, }; @@ -364,6 +415,7 @@ describe('#organizations handler', () => { } return Promise.resolve(data); }, + getOrganizationClientGrants: () => ({ data: [] }), }, connections: { getAll: (params) => @@ -381,6 +433,12 @@ describe('#organizations handler', () => { { id: 'con_999', name: 'Username', options: {} }, ]), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; @@ -433,6 +491,7 @@ describe('#organizations handler', () => { expect(data.is_signup_enabled).to.equal(false); return Promise.resolve({ data }); }, + getOrganizationClientGrants: () => ({ data: [] }), }, connections: { getAll: (params) => @@ -450,6 +509,12 @@ describe('#organizations handler', () => { { id: 'con_999', name: 'Username', options: {} }, ]), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; @@ -502,6 +567,7 @@ describe('#organizations handler', () => { expect(params.connection_id).to.equal(sampleEnabledConnection2.connection_id); return Promise.resolve({ data: undefined }); }, + getOrganizationClientGrants: () => ({ data: [] }), }, connections: { getAll: (params) => @@ -519,6 +585,12 @@ describe('#organizations handler', () => { { id: 'con_999', name: 'Username', options: {} }, ]), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; @@ -552,6 +624,7 @@ describe('#organizations handler', () => { delete: () => Promise.resolve({ data: [] }), getAll: (params) => Promise.resolve(mockPagedData(params, 'organizations', [sampleOrg])), getEnabledConnections: () => ({ data: [] }), + getOrganizationClientGrants: () => ({ data: [] }), }, connections: { getAll: (params) => @@ -569,6 +642,12 @@ describe('#organizations handler', () => { { id: 'con_999', name: 'Username', options: {} }, ]), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; @@ -601,10 +680,17 @@ describe('#organizations handler', () => { }, getAll: (params) => Promise.resolve(mockPagedData(params, 'organizations', [sampleOrg])), getEnabledConnections: () => [], + getOrganizationClientGrants: () => ({ data: [] }), }, connections: { getAll: (params) => mockPagedData(params, 'connections', []), }, + clients: { + getAll: (params) => mockPagedData(params, 'clients', sampleClients), + }, + clientGrants: { + getAll: (params) => mockPagedData(params, 'client_grants', [sampleClientGrant]), + }, pool, }; const handler = new organizations.default({ client: pageClient(auth0), config }); From 6dea04fc5eacc1ddb2650f622d66c5eb2f7634b3 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:05:20 +0530 Subject: [PATCH 6/9] update e2e test recordings --- test/e2e/e2e.test.ts | 2 +- ...sources-if-AUTH0_ALLOW_DELETE-is-true.json | 4227 +++-- ...ources-if-AUTH0_ALLOW_DELETE-is-false.json | 13559 +++++++++++----- ...ould-deploy-without-throwing-an-error.json | 7132 ++++---- ...-and-deploy-without-throwing-an-error.json | 1055 +- ...should-dump-without-throwing-an-error.json | 2939 +++- 6 files changed, 18245 insertions(+), 10669 deletions(-) diff --git a/test/e2e/e2e.test.ts b/test/e2e/e2e.test.ts index a5212b91..d75bdeb1 100644 --- a/test/e2e/e2e.test.ts +++ b/test/e2e/e2e.test.ts @@ -149,7 +149,7 @@ describe('#end-to-end deploy', function () { expect(yaml.databases.length).to.be.above(0); expect(yaml.connections.length).to.be.above(0); expect(yaml.roles.length).to.be.above(0); - expect(yaml.guardianFactorProviders.length).to.be.above(0); + expect(yaml.guardianFactorProviders.length).to.be.equal(0); expect(yaml.guardianFactorTemplates.length).to.be.above(0); expect(yaml.actions.length).to.be.above(0); expect(yaml.organizations.length).to.be.above(0); diff --git a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json index 58925fb1..4774c6b0 100644 --- a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json +++ b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_p1HZgKK2F2T4cXoG", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -35,7 +35,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_p1HZgKK2F2T4cXoG", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -50,7 +50,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/rules/rul_9MtEttom2x3G0KZP", + "path": "/api/v2/rules/rul_p1HZgKK2F2T4cXoG", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", @@ -59,7 +59,7 @@ }, "status": 200, "response": { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_p1HZgKK2F2T4cXoG", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -1044,6 +1044,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -1109,21 +1121,32 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "API Explorer Application", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1131,7 +1154,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1139,10 +1162,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1151,8 +1174,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1176,6 +1200,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1183,7 +1208,8 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1193,10 +1219,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { @@ -1220,6 +1250,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1227,7 +1258,7 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1246,21 +1277,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1272,6 +1291,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1279,8 +1299,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1288,36 +1307,44 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1325,7 +1352,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1333,9 +1360,12 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1344,7 +1374,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1358,18 +1388,18 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1377,7 +1407,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1387,10 +1417,8 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1429,6 +1457,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1436,7 +1465,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1461,31 +1490,22 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1493,7 +1513,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1501,10 +1521,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1517,7 +1537,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "path": "/api/v2/clients/TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", "body": "", "status": 204, "response": "", @@ -1527,7 +1547,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "path": "/api/v2/clients/tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "body": { "name": "API Explorer Application", "allowed_clients": [], @@ -1597,6 +1617,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1604,7 +1625,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1626,16 +1647,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "path": "/api/v2/clients/g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "body": { - "name": "Quickstarts API (Test Application)", - "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, @@ -1644,6 +1671,14 @@ "alg": "RS256", "lifetime_in_seconds": 36000 }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1655,19 +1690,29 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1679,6 +1724,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1686,7 +1732,8 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1694,11 +1741,16 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -1707,22 +1759,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "path": "/api/v2/clients/f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "body": { - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, @@ -1731,14 +1777,6 @@ "alg": "RS256", "lifetime_in_seconds": 36000 }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1750,29 +1788,19 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] + "token_endpoint_auth_method": "client_secret_post" }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1784,6 +1812,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1791,8 +1820,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1800,16 +1828,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -1818,7 +1841,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "path": "/api/v2/clients/G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "body": { "name": "Terraform Provider", "app_type": "non_interactive", @@ -1865,6 +1888,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1872,7 +1896,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1893,7 +1917,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "path": "/api/v2/clients/cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "body": { "name": "The Default App", "allowed_clients": [], @@ -1967,6 +1991,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1974,7 +1999,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1998,7 +2023,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "path": "/api/v2/clients/L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "body": { "name": "Test SPA", "allowed_clients": [], @@ -2083,6 +2108,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2090,7 +2116,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2117,7 +2143,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "path": "/api/v2/clients/qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -2187,6 +2213,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2194,7 +2221,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2253,7 +2280,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -2267,7 +2294,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2281,7 +2308,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2295,7 +2322,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -2309,13 +2336,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -2337,7 +2364,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -2351,13 +2378,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2423,24 +2450,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 }, "rawHeaders": [], "responseIsBinary": false @@ -2494,27 +2524,24 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -2527,14 +2554,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018117", + "id": "lst_0000000000018411", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" }, "filters": [ { @@ -2577,7 +2604,7 @@ "isPriority": false }, { - "id": "lst_0000000000018116", + "id": "lst_0000000000018410", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -2594,7 +2621,33 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018117", + "path": "/api/v2/log-streams/lst_0000000000018410", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + "status": 200, + "response": { + "id": "lst_0000000000018410", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018411", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2639,14 +2692,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000018117", + "id": "lst_0000000000018411", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" }, "filters": [ { @@ -2691,32 +2744,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018116", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } - }, - "status": 200, - "response": { - "id": "lst_0000000000018116", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2798,6 +2825,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2805,7 +2833,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2825,12 +2853,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2842,6 +2879,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2849,7 +2887,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2857,32 +2896,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2894,6 +2929,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2901,8 +2937,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2910,16 +2945,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -2940,6 +2970,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2947,7 +2978,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2992,6 +3023,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2999,7 +3031,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3021,14 +3053,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3042,15 +3069,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3058,7 +3086,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3067,15 +3095,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3083,9 +3106,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3099,15 +3127,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3115,7 +3144,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3124,10 +3153,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3183,7 +3217,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -3239,12 +3273,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_0izbLRpsXgcRJlU7", "options": { "mfa": { "active": true, @@ -3294,7 +3328,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -3350,12 +3384,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_0izbLRpsXgcRJlU7", "options": { "mfa": { "active": true, @@ -3396,11 +3430,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_nH4AIKkSAzWLnzAk", + "path": "/api/v2/connections/con_0izbLRpsXgcRJlU7", "body": "", "status": 202, "response": { - "deleted_at": "2024-10-18T10:24:02.892Z" + "deleted_at": "2024-11-05T06:09:49.438Z" }, "rawHeaders": [], "responseIsBinary": false @@ -3408,11 +3442,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_pxPok67zc0pXzFtU", + "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", "body": "", "status": 200, "response": { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -3465,8 +3499,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ], "realms": [ "boo-baz-db-connection-test" @@ -3478,11 +3512,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_pxPok67zc0pXzFtU", + "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", "body": { "enabled_clients": [ - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ], "is_domain_connection": false, "options": { @@ -3539,7 +3573,7 @@ }, "status": 200, "response": { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -3592,8 +3626,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ], "realms": [ "boo-baz-db-connection-test" @@ -3683,6 +3717,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3690,7 +3725,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3710,12 +3745,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3727,6 +3771,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3734,7 +3779,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3742,32 +3788,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3779,6 +3821,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3786,8 +3829,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3795,16 +3837,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -3825,6 +3862,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3832,7 +3870,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3877,6 +3915,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3884,7 +3923,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3906,14 +3945,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3927,15 +3961,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3943,7 +3978,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3952,15 +3987,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3968,9 +3998,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3984,15 +4019,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4000,7 +4036,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4009,10 +4045,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4068,7 +4109,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -4124,12 +4165,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] }, { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_UMCD4ZRwgr4QaHtl", "options": { "email": true, "scope": [ @@ -4145,8 +4186,8 @@ "google-oauth2" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] } ] @@ -4166,7 +4207,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -4222,12 +4263,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] }, { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_UMCD4ZRwgr4QaHtl", "options": { "email": true, "scope": [ @@ -4243,8 +4284,8 @@ "google-oauth2" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] } ] @@ -4255,11 +4296,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_vF5B2QiM1bTdpSsO", + "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", "body": { "enabled_clients": [ - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ], "is_domain_connection": false, "options": { @@ -4273,7 +4314,7 @@ }, "status": 200, "response": { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_UMCD4ZRwgr4QaHtl", "options": { "email": true, "scope": [ @@ -4286,8 +4327,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ], "realms": [ "google-oauth2" @@ -4299,25 +4340,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -4325,27 +4368,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -4431,6 +4472,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4438,7 +4480,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4458,12 +4500,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4475,6 +4526,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4482,7 +4534,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4490,32 +4543,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4527,6 +4576,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4534,8 +4584,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4543,16 +4592,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -4573,6 +4617,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4580,7 +4625,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4625,6 +4670,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4632,7 +4678,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4654,14 +4700,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4675,15 +4716,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4691,7 +4733,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4700,15 +4742,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4716,9 +4753,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4732,15 +4774,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4748,7 +4791,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4757,10 +4800,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4816,8 +4864,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Oh0iZTSJFWrcHIi0", - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4953,8 +5001,8 @@ ] }, { - "id": "cgr_qa1o0c61YQyNQp0V", - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5248,10 +5296,41 @@ "read:encryption_keys", "update:encryption_keys", "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", "read:client_credentials", "create:client_credentials", "update:client_credentials", - "delete:client_credentials" + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -5262,7 +5341,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_Oh0iZTSJFWrcHIi0", + "path": "/api/v2/client-grants/cgr_6XmFgi000nVn0B1Z", "body": { "scope": [ "read:client_grants", @@ -5399,8 +5478,8 @@ }, "status": 200, "response": { - "id": "cgr_Oh0iZTSJFWrcHIi0", - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5541,7 +5620,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_qa1o0c61YQyNQp0V", + "path": "/api/v2/client-grants/cgr_TdblK2PQXLzaRGZ3", "body": { "scope": [ "read:client_grants", @@ -5678,8 +5757,8 @@ }, "status": 200, "response": { - "id": "cgr_qa1o0c61YQyNQp0V", - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5826,22 +5905,22 @@ "response": { "roles": [ { - "id": "rol_ZJKlfo79sK6K1lHd", + "id": "rol_5aXYTodKygq1Yuaj", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_bL4bPRxC5sA93SOl", + "id": "rol_YWfS3O6ZI5WrsrYW", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_oqgV8nN5JuxVGYCv", + "id": "rol_q30FzIeU1tOybF2I", "name": "read_only", "description": "Read Only" }, { - "id": "rol_x0vZAmiZ04hdMdD1", + "id": "rol_GclzJFap0cQjnukV", "name": "read_osnly", "description": "Readz Only" } @@ -5856,7 +5935,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5871,7 +5950,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5886,7 +5965,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5901,7 +5980,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5916,14 +5995,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW", "body": { "name": "Reader", "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_bL4bPRxC5sA93SOl", + "id": "rol_YWfS3O6ZI5WrsrYW", "name": "Reader", "description": "Can only read things" }, @@ -5933,14 +6012,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj", "body": { "name": "Admin", "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_ZJKlfo79sK6K1lHd", + "id": "rol_5aXYTodKygq1Yuaj", "name": "Admin", "description": "Can read and write things" }, @@ -5950,14 +6029,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_oqgV8nN5JuxVGYCv", + "id": "rol_q30FzIeU1tOybF2I", "name": "read_only", "description": "Read Only" }, @@ -5967,14 +6046,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_x0vZAmiZ04hdMdD1", + "id": "rol_GclzJFap0cQjnukV", "name": "read_osnly", "description": "Readz Only" }, @@ -5990,7 +6069,7 @@ "response": { "actions": [ { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", "name": "My Custom Action", "supported_triggers": [ { @@ -5998,34 +6077,34 @@ "version": "v2" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-11-05T06:08:35.317748690Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" + "number": 3, + "build_time": "2024-11-05T06:08:36.266766154Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", + "number": 3, + "built_at": "2024-11-05T06:08:36.266766154Z", "secrets": [], "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z", "runtime": "node16", "supported_triggers": [ { @@ -6046,7 +6125,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/1d9d9961-1241-4715-9c06-ebebe824dd0c", + "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -6062,7 +6141,7 @@ }, "status": 200, "response": { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", "name": "My Custom Action", "supported_triggers": [ { @@ -6070,34 +6149,34 @@ "version": "v2" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:24:10.494523684Z", + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-11-05T06:09:56.261758381Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "pending", "secrets": [], "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" + "number": 3, + "build_time": "2024-11-05T06:08:36.266766154Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", + "number": 3, + "built_at": "2024-11-05T06:08:36.266766154Z", "secrets": [], "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z", "runtime": "node16", "supported_triggers": [ { @@ -6120,7 +6199,7 @@ "response": { "actions": [ { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", "name": "My Custom Action", "supported_triggers": [ { @@ -6128,34 +6207,34 @@ "version": "v2" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:24:10.494523684Z", + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-11-05T06:09:56.261758381Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" + "number": 3, + "build_time": "2024-11-05T06:08:36.266766154Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", + "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", + "number": 3, + "built_at": "2024-11-05T06:08:36.266766154Z", "secrets": [], "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", + "created_at": "2024-11-05T06:08:36.193897754Z", + "updated_at": "2024-11-05T06:08:36.267717638Z", "runtime": "node16", "supported_triggers": [ { @@ -6176,19 +6255,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/1d9d9961-1241-4715-9c06-ebebe824dd0c/deploy", + "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "3383b6a4-c2a6-4b19-bf95-807fc199cf54", + "id": "bec7224f-796f-4719-945a-42956b02be19", "deployed": false, - "number": 2, + "number": 4, "secrets": [], "status": "built", - "created_at": "2024-10-18T10:24:11.228980101Z", - "updated_at": "2024-10-18T10:24:11.228980101Z", + "created_at": "2024-11-05T06:09:56.937518135Z", + "updated_at": "2024-11-05T06:09:56.937518135Z", "runtime": "node16", "supported_triggers": [ { @@ -6197,7 +6276,7 @@ } ], "action": { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", "name": "My Custom Action", "supported_triggers": [ { @@ -6205,8 +6284,8 @@ "version": "v2" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:24:10.485296733Z", + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-11-05T06:09:56.234154877Z", "all_changes_deployed": false } }, @@ -6222,7 +6301,7 @@ "response": { "organizations": [ { - "id": "org_kyzlkLpxZLx5jUv4", + "id": "org_W3jteblmyX4vVdpE", "name": "org1", "display_name": "Organization", "branding": { @@ -6233,7 +6312,7 @@ } }, { - "id": "org_gqen5Wo1XmlD46eC", + "id": "org_uMVVAPzVdtaJkuAE", "name": "org2", "display_name": "Organization2" } @@ -6248,115 +6327,1543 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 2, + "total": 9, "start": 0, "limit": 100, - "connections": [ + "clients": [ { - "id": "con_pxPok67zc0pXzFtU", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "password_complexity_options": { - "min_length": 8 + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 9, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "enabledDatabaseCustomization": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" - ] + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true }, { - "id": "con_vF5B2QiM1bTdpSsO", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" - ] + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -6366,7 +7873,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE", "body": { "branding": { "colors": { @@ -6384,7 +7891,7 @@ "primary": "#57ddff" } }, - "id": "org_kyzlkLpxZLx5jUv4", + "id": "org_W3jteblmyX4vVdpE", "display_name": "Organization", "name": "org1" }, @@ -6394,13 +7901,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_gqen5Wo1XmlD46eC", + "id": "org_uMVVAPzVdtaJkuAE", "display_name": "Organization2", "name": "org2" }, @@ -6521,7 +8028,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_p1HZgKK2F2T4cXoG", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6545,7 +8052,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_p1HZgKK2F2T4cXoG", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6560,7 +8067,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/rules/rul_9MtEttom2x3G0KZP", + "path": "/api/v2/rules/rul_p1HZgKK2F2T4cXoG", "body": "", "status": 204, "response": "", @@ -7361,6 +8868,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -7451,6 +8970,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7458,7 +8978,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7478,12 +8998,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7495,6 +9024,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7502,7 +9032,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7510,32 +9041,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7547,6 +9074,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7554,8 +9082,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7563,16 +9090,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -7593,6 +9115,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7600,7 +9123,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7645,6 +9168,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7652,7 +9176,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7674,14 +9198,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7695,15 +9214,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7711,7 +9231,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7720,15 +9240,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7736,9 +9251,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7752,15 +9272,16 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7768,7 +9289,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7777,10 +9298,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -7792,7 +9318,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "path": "/api/v2/clients/f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "body": "", "status": 204, "response": "", @@ -7802,7 +9328,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "path": "/api/v2/clients/tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "body": "", "status": 204, "response": "", @@ -7812,7 +9338,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "path": "/api/v2/clients/g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "body": "", "status": 204, "response": "", @@ -7822,7 +9348,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "path": "/api/v2/clients/cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "body": "", "status": 204, "response": "", @@ -7832,7 +9358,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "path": "/api/v2/clients/G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "body": "", "status": 204, "response": "", @@ -7842,7 +9368,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "path": "/api/v2/clients/L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "body": "", "status": 204, "response": "", @@ -7852,7 +9378,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "path": "/api/v2/clients/qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "body": "", "status": 204, "response": "", @@ -7913,6 +9439,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "encrypted": true, "signing_keys": [ { @@ -7922,7 +9449,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7978,7 +9505,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -7992,7 +9519,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -8020,7 +9547,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -8034,7 +9561,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -8048,7 +9575,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -8140,6 +9667,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -8184,34 +9739,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -8245,14 +9772,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000018117", + "id": "lst_0000000000018410", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018411", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" }, "filters": [ { @@ -8293,17 +9831,6 @@ } ], "isPriority": false - }, - { - "id": "lst_0000000000018116", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false } ], "rawHeaders": [], @@ -8312,7 +9839,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018116", + "path": "/api/v2/log-streams/lst_0000000000018410", "body": "", "status": 204, "response": "", @@ -8322,7 +9849,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018117", + "path": "/api/v2/log-streams/lst_0000000000018411", "body": "", "status": 204, "response": "", @@ -8400,6 +9927,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8407,7 +9935,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8475,7 +10003,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -8549,7 +10077,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -8614,11 +10142,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_pxPok67zc0pXzFtU", + "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", "body": "", "status": 202, "response": { - "deleted_at": "2024-10-18T10:24:28.584Z" + "deleted_at": "2024-11-05T06:10:15.721Z" }, "rawHeaders": [], "responseIsBinary": false @@ -8632,7 +10160,7 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], "is_domain_connection": false, "options": { @@ -8650,7 +10178,7 @@ }, "status": 201, "response": { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -8677,8 +10205,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], "realms": [ "Username-Password-Authentication" @@ -8758,6 +10286,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8765,7 +10294,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8833,7 +10362,7 @@ "limit": 100, "connections": [ { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_UMCD4ZRwgr4QaHtl", "options": { "email": true, "scope": [ @@ -8851,7 +10380,7 @@ "enabled_clients": [] }, { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -8881,8 +10410,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -8902,7 +10431,7 @@ "limit": 100, "connections": [ { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_UMCD4ZRwgr4QaHtl", "options": { "email": true, "scope": [ @@ -8920,7 +10449,7 @@ "enabled_clients": [] }, { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -8950,8 +10479,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -8962,11 +10491,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_vF5B2QiM1bTdpSsO", + "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", "body": "", "status": 202, "response": { - "deleted_at": "2024-10-18T10:24:30.484Z" + "deleted_at": "2024-11-05T06:10:17.452Z" }, "rawHeaders": [], "responseIsBinary": false @@ -9042,6 +10571,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9049,7 +10579,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9275,10 +10805,41 @@ "read:encryption_keys", "update:encryption_keys", "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", "read:client_credentials", "create:client_credentials", "update:client_credentials", - "delete:client_credentials" + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -9295,22 +10856,22 @@ "response": { "roles": [ { - "id": "rol_ZJKlfo79sK6K1lHd", + "id": "rol_5aXYTodKygq1Yuaj", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_bL4bPRxC5sA93SOl", + "id": "rol_YWfS3O6ZI5WrsrYW", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_oqgV8nN5JuxVGYCv", + "id": "rol_q30FzIeU1tOybF2I", "name": "read_only", "description": "Read Only" }, { - "id": "rol_x0vZAmiZ04hdMdD1", + "id": "rol_GclzJFap0cQjnukV", "name": "read_osnly", "description": "Readz Only" } @@ -9325,7 +10886,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -9340,7 +10901,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -9355,7 +10916,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -9370,7 +10931,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -9385,7 +10946,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj", "body": "", "status": 200, "response": {}, @@ -9395,7 +10956,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I", "body": "", "status": 200, "response": {}, @@ -9405,7 +10966,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW", "body": "", "status": 200, "response": {}, @@ -9415,7 +10976,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV", "body": "", "status": 200, "response": {}, @@ -9431,118 +10992,273 @@ "response": { "actions": [ { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", "name": "My Custom Action", "supported_triggers": [ { - "id": "post-login", - "version": "v2" + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-11-05T06:09:56.261758381Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "bec7224f-796f-4719-945a-42956b02be19", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 4, + "build_time": "2024-11-05T06:09:57.007260379Z", + "created_at": "2024-11-05T06:09:56.937518135Z", + "updated_at": "2024-11-05T06:09:57.008290610Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "bec7224f-796f-4719-945a-42956b02be19", + "deployed": true, + "number": 4, + "built_at": "2024-11-05T06:09:57.007260379Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:09:56.937518135Z", + "updated_at": "2024-11-05T06:09:57.008290610Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "DELETE", + "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1?force=true", + "body": "", + "status": 204, + "response": "", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_W3jteblmyX4vVdpE", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_uMVVAPzVdtaJkuAE", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:24:10.494523684Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "current_version": { - "id": "3383b6a4-c2a6-4b19-bf95-807fc199cf54", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 2, - "build_time": "2024-10-18T10:24:11.312524564Z", - "created_at": "2024-10-18T10:24:11.228980101Z", - "updated_at": "2024-10-18T10:24:11.313524207Z" + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "3383b6a4-c2a6-4b19-bf95-807fc199cf54", - "deployed": true, - "number": 2, - "built_at": "2024-10-18T10:24:11.312524564Z", - "secrets": [], - "status": "built", - "created_at": "2024-10-18T10:24:11.228980101Z", - "updated_at": "2024-10-18T10:24:11.313524207Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "all_changes_deployed": true + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } - ], - "total": 1, - "per_page": 100 + ] }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "DELETE", - "path": "/api/v2/actions/actions/1d9d9961-1241-4715-9c06-ebebe824dd0c?force=true", - "body": "", - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", "body": "", "status": 200, - "response": { - "actions": [], - "per_page": 100 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", "body": "", "status": 200, - "response": { - "organizations": [ - { - "id": "org_kyzlkLpxZLx5jUv4", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_gqen5Wo1XmlD46eC", - "name": "org2", - "display_name": "Organization2" - } - ], - "start": 0, - "limit": 100, - "total": 2 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4/enabled_connections", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", "body": "", "status": 200, "response": [], @@ -9552,7 +11268,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC/enabled_connections", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", "body": "", "status": 200, "response": [], @@ -9571,7 +11287,7 @@ "limit": 100, "connections": [ { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -9601,8 +11317,355 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -9613,7 +11676,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE", "body": "", "status": 204, "response": "", @@ -9623,7 +11686,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE", "body": "", "status": 204, "response": "", @@ -10633,6 +12696,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -10713,6 +12788,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -10720,7 +12796,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10753,7 +12829,7 @@ "limit": 100, "connections": [ { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -10783,8 +12859,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -10804,7 +12880,7 @@ "limit": 100, "connections": [ { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -10834,8 +12910,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -10950,7 +13026,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -10965,14 +13041,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -10980,7 +13060,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -10995,7 +13075,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -11010,7 +13090,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -11025,7 +13105,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -11040,7 +13120,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -11055,18 +13135,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/user_invitation", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -11074,7 +13150,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -11089,7 +13165,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -11271,10 +13347,41 @@ "read:encryption_keys", "update:encryption_keys", "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", "read:client_credentials", "create:client_credentials", "update:client_credentials", - "delete:client_credentials" + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -11349,12 +13456,7 @@ "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, - "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, + "response": {}, "rawHeaders": [], "responseIsBinary": false }, @@ -11518,25 +13620,15 @@ "page_background": "#222221" } }, - "session_cookie": { - "mode": "non-persistent" - }, - "sandbox_versions_available": [ - "18", - "16", - "12" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", - "body": "", - "status": 200, - "response": {}, + "session_cookie": { + "mode": "non-persistent" + }, + "sandbox_versions_available": [ + "18", + "16", + "12" + ] + }, "rawHeaders": [], "responseIsBinary": false }, @@ -11563,7 +13655,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11573,7 +13665,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11593,7 +13685,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11613,7 +13705,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11633,7 +13725,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11653,7 +13745,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11673,7 +13765,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11683,7 +13775,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11740,6 +13832,16 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -11783,7 +13885,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -11793,7 +13895,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -11803,7 +13905,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -11813,7 +13915,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -11823,7 +13925,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -11833,7 +13935,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -11873,13 +13975,12 @@ "triggers": [ { "id": "post-login", - "version": "v2", + "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12", - "node16" + "node12" ], - "default_runtime": "node16", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -11903,36 +14004,37 @@ }, { "id": "post-login", - "version": "v1", + "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node12" + "node12", + "node16" ], - "default_runtime": "node12", + "default_runtime": "node16", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -11984,6 +14086,19 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-change-password", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-change-password", "version": "v1", @@ -11996,15 +14111,12 @@ "compatible_triggers": [] }, { - "id": "post-change-password", - "version": "v2", - "status": "CURRENT", + "id": "send-phone-message", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -12021,16 +14133,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "password-reset-post-challenge", "version": "v1", @@ -12056,18 +14158,22 @@ "id": "custom-phone-provider", "version": "v1", "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], "default_runtime": "node18", "binding_policy": "trigger-bound", - "runtimes": [], "compatible_triggers": [] }, { "id": "custom-email-provider", "version": "v1", "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], "default_runtime": "node18", "binding_policy": "trigger-bound", - "runtimes": [], "compatible_triggers": [] }, { @@ -12242,6 +14348,141 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", diff --git a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json index 6bad3711..98e64e06 100644 --- a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json +++ b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -21,28 +30,36 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/rules", + "method": "PATCH", + "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", - "stage": "login_success", "enabled": true, "order": 2 }, - "status": 201, + "status": 200, "response": { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -1027,6 +1044,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -1043,7 +1072,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 9, "start": 0, "limit": 100, "clients": [ @@ -1107,6 +1136,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1114,7 +1144,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1129,414 +1159,402 @@ "client_credentials" ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "API Explorer Application", - "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "native_social_login": { - "apple": { - "enabled": false }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 201, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "encrypted": true, - "signing_keys": [ { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "Quickstarts API (Test Application)", - "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 201, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "encrypted": true, - "signing_keys": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "native_social_login": { - "apple": { - "enabled": false + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] - }, - "status": 201, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "encrypted": true, - "signing_keys": [ { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "Terraform Provider", - "app_type": "non_interactive", - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 201, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "encrypted": true, - "signing_keys": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true } - ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "body": { - "name": "The Default App", + "name": "API Explorer Application", "allowed_clients": [], + "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1546,26 +1564,25 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "API Explorer Application", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1579,28 +1596,26 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, - "encrypted": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1610,10 +1625,8 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1623,18 +1636,97 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "body": { - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" + "name": "Quickstarts API (Test Application)", + "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" ], - "app_type": "spa", - "callbacks": [ - "http://localhost:3000" + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "body": { + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", + "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1642,14 +1734,14 @@ "grant_types": [ "authorization_code", "implicit", - "refresh_token" + "refresh_token", + "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1661,33 +1753,27 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "none", - "web_origins": [ - "http://localhost:3000" - ] + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "Node App", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "allowed_logout_urls": [], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1701,25 +1787,25 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, - "encrypted": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1728,15 +1814,90 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", - "refresh_token" + "refresh_token", + "client_credentials" ], - "web_origins": [ - "http://localhost:3000" + "web_origins": [], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "body": { + "name": "Terraform Provider", + "app_type": "non_interactive", + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], "custom_login_page_on": true }, @@ -1745,26 +1906,27 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "body": { - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], - "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1774,25 +1936,26 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1806,27 +1969,27 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, - "encrypted": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1836,8 +1999,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1847,10 +2012,230 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, + "method": "PATCH", + "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "body": { + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "body": { + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", + "status": 200, "response": { "name": "mandrill", "credentials": {}, @@ -1899,7 +2284,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1913,7 +2298,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1927,13 +2312,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -1941,7 +2326,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -1955,7 +2340,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1969,13 +2354,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2083,32 +2468,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { "enabled": true, "shields": [ @@ -2153,45 +2513,105 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/log-streams", - "body": "", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, "status": 200, - "response": [], + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", + "method": "GET", "path": "/api/v2/log-streams", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "type": "datadog" - }, + "body": "", "status": 200, - "response": { - "id": "lst_0000000000018116", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" + "response": [ + { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false }, - "isPriority": false - }, + { + "id": "lst_0000000000018492", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018492", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2232,22 +2652,18 @@ "name": "auth.token_exchange.fail" } ], - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2" - }, - "type": "eventbridge" + "status": "active" }, "status": 200, "response": { - "id": "lst_0000000000018117", + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -2292,6 +2708,32 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018491", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + "status": 200, + "response": { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2363,6 +2805,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2370,7 +2813,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2415,6 +2858,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2422,7 +2866,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2442,12 +2886,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2459,6 +2912,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2466,7 +2920,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2474,32 +2929,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2511,6 +2962,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2518,8 +2970,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2527,16 +2978,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -2557,6 +3003,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2564,7 +3011,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2609,6 +3056,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2616,7 +3064,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2668,6 +3116,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2675,7 +3124,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2725,6 +3174,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2732,7 +3182,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2795,24 +3245,43 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "good", + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, + "password_history": { + "size": 5, + "enable": false + }, "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, "authentication_methods": { "passkey": { "enabled": false @@ -2821,37 +3290,28 @@ "enabled": true } }, - "brute_force_protection": true + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, "strategy": "auth0", - "name": "Username-Password-Authentication", + "name": "boo-baz-db-connection-test", "is_domain_connection": false, "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -2881,8 +3341,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -2892,32 +3352,145 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", - "body": { - "name": "boo-baz-db-connection-test", - "strategy": "auth0", - "enabled_clients": [ - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" - ], - "is_domain_connection": false, - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "body": "", + "status": 200, + "response": { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, "import_mode": false, "customScripts": { - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" }, "disable_signup": false, "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, "password_history": { "size": 5, "enable": false @@ -2928,6 +3501,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2937,19 +3518,35 @@ }, "enabledDatabaseCustomization": true }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ], "realms": [ "boo-baz-db-connection-test" ] }, - "status": 201, - "response": { - "id": "con_pxPok67zc0pXzFtU", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "body": { + "enabled_clients": [ + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + ], + "is_domain_connection": false, "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "low", "import_mode": false, "customScripts": { "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", @@ -2960,6 +3557,12 @@ "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" }, "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, "password_history": { "size": 5, "enable": false @@ -2970,6 +3573,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2977,27 +3588,69 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true, + "enabledDatabaseCustomization": true + }, + "realms": [ + "boo-baz-db-connection-test" + ] + }, + "status": 200, + "response": { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, "authentication_methods": { - "password": { - "enabled": true - }, "passkey": { "enabled": false + }, + "password": { + "enabled": true } }, - "passkey_options": { - "challenge_ui": "both", - "progressive_enrollment_enabled": true, - "local_enrollment_enabled": true - } + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, "strategy": "auth0", "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "realms": [ "boo-baz-db-connection-test" @@ -3077,6 +3730,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3084,7 +3738,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3129,6 +3783,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3136,7 +3791,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3156,12 +3811,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3173,6 +3837,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3180,7 +3845,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3188,32 +3854,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3225,6 +3887,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3232,8 +3895,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3241,16 +3903,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -3271,6 +3928,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3278,7 +3936,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3323,6 +3981,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3330,7 +3989,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3382,6 +4041,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3389,7 +4049,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3439,6 +4099,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3446,7 +4107,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3509,12 +4170,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3570,12 +4231,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3605,8 +4287,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -3621,12 +4303,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3682,12 +4364,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3717,8 +4420,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -3728,14 +4431,12 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", + "method": "PATCH", + "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", "body": { - "name": "google-oauth2", - "strategy": "google-oauth2", "enabled_clients": [ - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "is_domain_connection": false, "options": { @@ -3747,9 +4448,9 @@ "profile": true } }, - "status": 201, + "status": 200, "response": { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -3762,8 +4463,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "realms": [ "google-oauth2" @@ -3775,25 +4476,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -3801,27 +4504,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -3897,6 +4598,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3904,7 +4606,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3949,6 +4651,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3956,7 +4659,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3976,12 +4679,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3993,6 +4705,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4000,7 +4713,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4008,32 +4722,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4045,6 +4755,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4052,8 +4763,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4061,16 +4771,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -4091,6 +4796,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4098,7 +4804,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4143,6 +4849,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4150,7 +4857,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4202,6 +4909,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4209,7 +4917,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4259,6 +4967,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4266,7 +4975,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4329,13 +5038,13 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "client_grants": [ { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4451,11 +5160,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -4472,102 +5176,827 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/client-grants", - "body": { - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", + }, + { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", + "body": { + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + "status": 200, + "response": { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", + "body": { + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + "status": 200, + "response": { + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", "read:insights", "read:tenant_settings", "update:tenant_settings", @@ -4643,142 +6072,936 @@ "delete:organization_invitations" ] }, - "status": 201, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [ + { + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" + } + ], + "start": 0, + "limit": 100, + "total": 4 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "body": { + "name": "Admin", + "description": "Can read and write things" + }, + "status": 200, + "response": { + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", + "body": { + "name": "Reader", + "description": "Can only read things" + }, + "status": 200, + "response": { + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "body": { + "name": "read_only", + "description": "Read Only" + }, + "status": 200, + "response": { + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "body": { + "name": "read_osnly", + "description": "Readz Only" + }, + "status": 200, + "response": { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:24:43.006522872Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 6, + "build_time": "2024-11-05T06:24:43.782668427Z", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "deployed": true, + "number": 6, + "built_at": "2024-11-05T06:24:43.782668427Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", + "body": { + "name": "My Custom Action", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "secrets": [], + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "status": 200, "response": { - "id": "cgr_qa1o0c61YQyNQp0V", - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "pending", + "secrets": [], + "current_version": { + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 6, + "build_time": "2024-11-05T06:24:43.782668427Z", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "deployed": true, + "number": 6, + "built_at": "2024-11-05T06:24:43.782668427Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 6, + "build_time": "2024-11-05T06:24:43.782668427Z", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", + "deployed": true, + "number": 6, + "built_at": "2024-11-05T06:24:43.782668427Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:24:43.666957862Z", + "updated_at": "2024-11-05T06:24:43.784244421Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", + "body": "", + "status": 200, + "response": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": false, + "number": 7, + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.595889802Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "action": { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.396717822Z", + "all_changes_deployed": false + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_6pcbE8NjmLYMaNPk", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_PqrZQ4CbcMvRFBK2", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } ] }, "rawHeaders": [], @@ -4786,280 +7009,658 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/client-grants", - "body": { - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } ] }, - "status": 201, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, "response": { - "id": "cgr_Oh0iZTSJFWrcHIi0", - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } ] }, "rawHeaders": [], @@ -5068,353 +7669,501 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "roles": [], + "total": 10, "start": 0, "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", - "body": { - "name": "Reader", - "description": "Can only read things" - }, - "status": 200, - "response": { - "id": "rol_bL4bPRxC5sA93SOl", - "name": "Reader", - "description": "Can only read things" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", - "body": { - "name": "Admin", - "description": "Can read and write things" - }, - "status": 200, - "response": { - "id": "rol_ZJKlfo79sK6K1lHd", - "name": "Admin", - "description": "Can read and write things" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", - "body": { - "name": "read_only", - "description": "Read Only" - }, - "status": 200, - "response": { - "id": "rol_oqgV8nN5JuxVGYCv", - "name": "read_only", - "description": "Read Only" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", - "body": { - "name": "read_osnly", - "description": "Readz Only" - }, - "status": 200, - "response": { - "id": "rol_x0vZAmiZ04hdMdD1", - "name": "read_osnly", - "description": "Readz Only" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [], - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/actions/actions", - "body": { - "name": "My Custom Action", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "secrets": [], - "supported_triggers": [ + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "post-login", - "version": "v2" - } - ] - }, - "status": 201, - "response": { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "pending", - "secrets": [], - "all_changes_deployed": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v2" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "all_changes_deployed": false - } - ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/actions/actions/1d9d9961-1241-4715-9c06-ebebe824dd0c/deploy", - "body": "", - "status": 200, - "response": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "deployed": false, - "number": 1, - "secrets": [], - "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.241953841Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "action": { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.504691389Z", - "all_changes_deployed": false - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "connections": [ + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "con_pxPok67zc0pXzFtU", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "password_complexity_options": { - "min_length": 8 + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "enabledDatabaseCustomization": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" - ] - }, - { - "id": "con_vF5B2QiM1bTdpSsO", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" - ] + "custom_login_page_on": true }, { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - ] + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -5423,15 +8172,14 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", + "method": "PATCH", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", "body": { - "name": "org2", "display_name": "Organization2" }, - "status": 201, + "status": 200, "response": { - "id": "org_gqen5Wo1XmlD46eC", + "id": "org_PqrZQ4CbcMvRFBK2", "display_name": "Organization2", "name": "org2" }, @@ -5440,10 +8188,9 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", + "method": "PATCH", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", "body": { - "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", @@ -5452,7 +8199,7 @@ }, "display_name": "Organization" }, - "status": 201, + "status": 200, "response": { "branding": { "colors": { @@ -5460,7 +8207,7 @@ "primary": "#57ddff" } }, - "id": "org_kyzlkLpxZLx5jUv4", + "id": "org_6pcbE8NjmLYMaNPk", "display_name": "Organization", "name": "org1" }, @@ -5581,7 +8328,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5605,7 +8352,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6385,37 +9132,875 @@ "value": "read:connections_options" }, { - "description": "Update Connections Options", - "value": "update:connections_options" + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, + { + "value": "read:client_credentials", + "description": "Read Client Credentials" + }, + { + "value": "create:client_credentials", + "description": "Create Client Credentials" + }, + { + "value": "update:client_credentials", + "description": "Update Client Credentials" + }, + { + "value": "delete:client_credentials", + "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" + } + ], + "is_system": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true&is_global=false", + "body": "", + "status": 200, + "response": { + "total": 9, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read Self Service Profile Custom Texts", - "value": "read:self_service_profile_custom_texts" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Update Self Service Profile Custom Texts", - "value": "update:self_service_profile_custom_texts" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "value": "read:client_credentials", - "description": "Read Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "value": "create:client_credentials", - "description": "Create Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "value": "update:client_credentials", - "description": "Update Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "value": "delete:client_credentials", - "description": "delete Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "is_system": true + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/duo", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/push-notification", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/otp", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-roaming", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/email", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-platform", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/sms", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/policies", + "body": [], + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/selected-provider", + "body": { + "provider": "auth0" + }, + "status": 200, + "response": { + "provider": "auth0" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/message-types", + "body": { + "message_types": [] + }, + "status": 200, + "response": { + "message_types": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/prompts", + "body": { + "universal_login_experience": "new" + }, + "status": 200, + "response": { + "universal_login_experience": "new", + "identifier_first": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 } - ] + } + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -6423,11 +10008,83 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true&is_global=false", + "path": "/api/v2/log-streams", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018492", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 9, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -6491,6 +10148,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6498,7 +10156,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6543,6 +10201,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6550,7 +10209,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6566,49 +10225,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -6639,6 +10255,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6647,7 +10264,7 @@ } ], "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6671,7 +10288,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6685,6 +10305,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6692,7 +10313,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6711,137 +10332,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -6853,6 +10346,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6860,7 +10354,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6868,444 +10362,565 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false - }, - "status": 200, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/email", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/otp", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/sms", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/policies", - "body": [], - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 200, - "response": { - "provider": "auth0" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": { - "message_types": [] - }, - "status": 200, - "response": { - "message_types": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/prompts", - "body": { - "universal_login_experience": "new" - }, - "status": 200, - "response": { - "universal_login_experience": "new", - "identifier_first": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] } - } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] } - } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, + "method": "GET", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "realms": [ + "Username-Password-Authentication" + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/log-streams", - "body": "", - "status": 200, - "response": [ - { - "id": "lst_0000000000018117", - "name": "Amazon EventBridge", - "type": "eventbridge", - "status": "active", - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "method": "PATCH", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "is_domain_connection": false, + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "filters": [ - { - "type": "category", - "name": "auth.login.success" - }, - { - "type": "category", - "name": "auth.login.notification" - }, - { - "type": "category", - "name": "auth.login.fail" - }, - { - "type": "category", - "name": "auth.signup.success" - }, - { - "type": "category", - "name": "auth.logout.success" - }, - { - "type": "category", - "name": "auth.logout.fail" - }, - { - "type": "category", - "name": "auth.silent_auth.fail" + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false }, - { - "type": "category", - "name": "auth.silent_auth.success" + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "realms": [ + "Username-Password-Authentication" + ] + }, + "status": 200, + "response": { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false }, - { - "type": "category", - "name": "auth.token_exchange.fail" + "password": { + "enabled": true } - ], - "isPriority": false - }, - { - "id": "lst_0000000000018116", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" }, - "isPriority": false - } - ], + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, "rawHeaders": [], "responseIsBinary": false }, @@ -7380,6 +10995,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7387,7 +11003,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7432,6 +11048,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7439,7 +11056,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7459,12 +11076,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7476,6 +11102,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7483,7 +11110,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7491,32 +11119,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7528,6 +11152,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7535,8 +11160,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7544,16 +11168,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -7574,6 +11193,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7581,7 +11201,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7626,6 +11246,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7633,7 +11254,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7685,6 +11306,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7692,7 +11314,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7742,6 +11364,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7749,7 +11372,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7808,16 +11431,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -7873,12 +11496,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -7908,8 +11552,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -7920,16 +11564,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -7985,12 +11629,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -8020,129 +11685,10 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_nH4AIKkSAzWLnzAk", - "body": "", - "status": 200, - "response": { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_nH4AIKkSAzWLnzAk", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE" - ], - "is_domain_connection": false, - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "realms": [ - "Username-Password-Authentication" - ] - }, - "status": 200, - "response": { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE" - ], - "realms": [ - "Username-Password-Authentication" + } ] }, "rawHeaders": [], @@ -8219,6 +11765,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8226,7 +11773,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8271,6 +11818,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8278,7 +11826,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8298,12 +11846,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8315,6 +11872,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8322,7 +11880,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8330,32 +11889,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8367,6 +11922,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8374,8 +11930,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8383,16 +11938,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -8413,6 +11963,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8420,7 +11971,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8465,6 +12016,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8472,7 +12024,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8491,155 +12043,679 @@ "custom_login_page_on": true }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [ + { + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" } - ] + ], + "start": 0, + "limit": 100, + "total": 4 }, "rawHeaders": [], "responseIsBinary": false @@ -8647,132 +12723,183 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 3, + "permissions": [], "start": 0, "limit": 100, - "connections": [ + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ { - "id": "con_pxPok67zc0pXzFtU", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + ] }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" - ] - }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ { - "id": "con_vF5B2QiM1bTdpSsO", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" - ] - }, - { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" } - }, - "brute_force_protection": true + ] }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - ] + "all_changes_deployed": true } - ] + ], + "total": 1, + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -8780,132 +12907,31 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 3, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_pxPok67zc0pXzFtU", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" - ] - }, + "organizations": [ { - "id": "con_vF5B2QiM1bTdpSsO", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" - ] + "id": "org_6pcbE8NjmLYMaNPk", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } }, { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - ] + "id": "org_PqrZQ4CbcMvRFBK2", + "name": "org2", + "display_name": "Organization2" } - ] + ], + "start": 0, + "limit": 100, + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -8981,6 +13007,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8988,7 +13015,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9033,6 +13060,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9040,7 +13068,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9056,49 +13084,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -9129,6 +13114,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9137,7 +13123,7 @@ } ], "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9161,72 +13147,24 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9234,7 +13172,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9242,12 +13180,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -9256,36 +13191,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9293,7 +13213,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9301,16 +13221,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9318,7 +13232,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -9332,17 +13246,19 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9350,7 +13266,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9360,500 +13276,336 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } + "callbacks": [ + "http://localhost:3000" ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "client_grants": [ - { - "id": "cgr_Oh0iZTSJFWrcHIi0", - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true }, { - "id": "cgr_qa1o0c61YQyNQp0V", - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -9864,401 +13616,986 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "roles": [ + "total": 10, + "start": 0, + "limit": 100, + "clients": [ { - "id": "rol_ZJKlfo79sK6K1lHd", - "name": "Admin", - "description": "Can read and write things" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true }, { - "id": "rol_bL4bPRxC5sA93SOl", - "name": "Reader", - "description": "Can only read things" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "rol_oqgV8nN5JuxVGYCv", - "name": "read_only", - "description": "Read Only" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "rol_x0vZAmiZ04hdMdD1", - "name": "read_osnly", - "description": "Readz Only" - } - ], - "start": 0, - "limit": 100, - "total": 4 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ - { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v2" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", - "secrets": [], - "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "all_changes_deployed": true - } - ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false } - ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", - "secrets": [], - "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, - "all_changes_deployed": true - } - ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_kyzlkLpxZLx5jUv4", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } - } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "org_gqen5Wo1XmlD46eC", - "name": "org2", - "display_name": "Organization2" - } - ], - "start": 0, - "limit": 100, - "total": 2 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_pxPok67zc0pXzFtU", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_vF5B2QiM1bTdpSsO", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -10355,7 +14692,7 @@ "limit": 100, "rules": [ { - "id": "rul_9MtEttom2x3G0KZP", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -11278,6 +15615,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -11358,6 +15707,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11365,7 +15715,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11410,6 +15760,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11417,7 +15768,7 @@ "subject": "deprecated" } ], - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11437,12 +15788,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11454,6 +15814,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11461,7 +15822,8 @@ "subject": "deprecated" } ], - "client_id": "j8XHYvJ9b931CrttWKmIdS0qyS2TJgBT", + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11469,32 +15831,28 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11506,6 +15864,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11513,8 +15872,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11522,16 +15880,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -11552,6 +15905,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11559,7 +15913,7 @@ "subject": "deprecated" } ], - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11604,6 +15958,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11611,7 +15966,7 @@ "subject": "deprecated" } ], - "client_id": "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11663,6 +16018,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11670,7 +16026,7 @@ "subject": "deprecated" } ], - "client_id": "s2MDEQWV0fRprRBLcEoi3QSpN5219Q4d", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11720,6 +16076,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -11727,7 +16084,7 @@ "subject": "deprecated" } ], - "client_id": "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11760,7 +16117,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -11816,12 +16173,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -11851,8 +16208,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -11872,7 +16229,7 @@ "limit": 100, "connections": [ { - "id": "con_pxPok67zc0pXzFtU", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -11928,12 +16285,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "RbBnpJYUxNxlw2uyoSafRsoGf5tJ0gm3" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_vF5B2QiM1bTdpSsO", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -11949,12 +16306,12 @@ "google-oauth2" ], "enabled_clients": [ - "Ch2ixKKXLYdPiY4QBkdBSVck6I7CQHHI", - "XuxoUwripgr8oWdWIb7ncBfolu8jYe5J" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -11984,8 +16341,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -12100,7 +16457,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -12115,7 +16472,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -12130,18 +16487,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/reset_email", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -12149,7 +16502,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -12164,7 +16517,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -12179,7 +16532,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -12194,7 +16547,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -12209,7 +16562,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -12224,7 +16577,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -12239,14 +16592,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -12263,8 +16620,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Oh0iZTSJFWrcHIi0", - "client_id": "jH38OFDGWJdIbGtMWP1nmhXWyJ289P2U", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12400,8 +16757,8 @@ ] }, { - "id": "cgr_qa1o0c61YQyNQp0V", - "client_id": "CWX3s3TyYYlusLaVmTiRTXbfPs6hV3DF", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12695,10 +17052,41 @@ "read:encryption_keys", "update:encryption_keys", "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", "read:client_credentials", "create:client_credentials", "update:client_credentials", - "delete:client_credentials" + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -12760,22 +17148,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", "body": "", "status": 200, - "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, + "response": {}, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, "response": {}, @@ -12838,22 +17221,22 @@ "response": { "roles": [ { - "id": "rol_ZJKlfo79sK6K1lHd", + "id": "rol_XL2Vm5aw2TTxbBTK", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_bL4bPRxC5sA93SOl", + "id": "rol_VPswP8pd5HvHwSiO", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_oqgV8nN5JuxVGYCv", + "id": "rol_dhIF1pCAP1ld2Zot", "name": "read_only", "description": "Read Only" }, { - "id": "rol_x0vZAmiZ04hdMdD1", + "id": "rol_sRU37NBK33W1J2mR", "name": "read_osnly", "description": "Readz Only" } @@ -12868,7 +17251,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_ZJKlfo79sK6K1lHd/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12883,7 +17266,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_bL4bPRxC5sA93SOl/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12898,7 +17281,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_oqgV8nN5JuxVGYCv/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12913,7 +17296,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_x0vZAmiZ04hdMdD1/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -13048,7 +17431,147 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-id/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-id/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-password/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/reset-password/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/consent/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-push/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13058,7 +17581,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13068,7 +17591,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13078,7 +17601,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13088,7 +17611,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13098,7 +17621,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13108,7 +17631,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13118,7 +17641,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13128,7 +17651,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/invitation/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13138,7 +17661,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/common/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13148,7 +17671,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -13158,7 +17681,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -13168,7 +17691,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -13178,7 +17701,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -13188,7 +17711,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -13198,7 +17721,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -13208,7 +17731,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/signup-password/partials", "body": "", "status": 200, "response": {}, @@ -13218,420 +17741,963 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, - "response": {}, + "response": { + "actions": [ + { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/actions/triggers", "body": "", "status": 200, - "response": {}, + "response": { + "triggers": [ + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v3", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + { + "id": "credentials-exchange", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "credentials-exchange", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-user-registration", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-change-password", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-change-password", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "send-phone-message", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "send-phone-message", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "password-reset-post-challenge", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "login-post-identifier", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-phone-provider", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "custom-email-provider", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "custom-token-exchange-beta", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + } + ] + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/actions/triggers/post-login/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/actions/triggers/credentials-exchange/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/invitation/custom-text/en", + "path": "/api/v2/actions/triggers/pre-user-registration/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/organizations/custom-text/en", + "path": "/api/v2/actions/triggers/post-user-registration/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/common/custom-text/en", + "path": "/api/v2/actions/triggers/post-change-password/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/actions/triggers/send-phone-message/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": {}, + "response": { + "organizations": [ + { + "id": "org_6pcbE8NjmLYMaNPk", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_PqrZQ4CbcMvRFBK2", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "actions": [ + "total": 10, + "start": 0, + "limit": 100, + "clients": [ { - "id": "1d9d9961-1241-4715-9c06-ebebe824dd0c", - "name": "My Custom Action", - "supported_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v2" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-10-18T10:22:46.504691389Z", - "updated_at": "2024-10-18T10:22:46.512429033Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "current_version": { - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 1, - "build_time": "2024-10-18T10:22:47.323089940Z", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "eb8aabf7-062a-4695-ad5b-42eca34b0f7d", - "deployed": true, - "number": 1, - "built_at": "2024-10-18T10:22:47.323089940Z", - "secrets": [], - "status": "built", - "created_at": "2024-10-18T10:22:47.241953841Z", - "updated_at": "2024-10-18T10:22:47.324336487Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "all_changes_deployed": true - } - ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers", - "body": "", - "status": 200, - "response": { - "triggers": [ - { - "id": "post-login", - "version": "v3", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] + "custom_login_page_on": true }, { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "default_runtime": "node16", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "web_origins": [], + "custom_login_page_on": true }, { - "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "pre-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "pre-user-registration", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "post-change-password", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-change-password", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "callbacks": [ + "http://localhost:3000" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "password-reset-post-challenge", - "version": "v1", - "status": "CURRENT", - "runtimes": [ - "node16", - "node18-actions" + "web_origins": [ + "http://localhost:3000" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "login-post-identifier", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] - }, - { - "id": "custom-phone-provider", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "custom-email-provider", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "custom-token-exchange-beta", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -13641,182 +18707,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/post-login/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/credentials-exchange/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/pre-user-registration/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/post-user-registration/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/post-change-password/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/send-phone-message/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/login-post-identifier/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/custom-email-provider/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", "body": "", "status": 200, - "response": { - "organizations": [ - { - "id": "org_kyzlkLpxZLx5jUv4", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_gqen5Wo1XmlD46eC", - "name": "org2", - "display_name": "Organization2" - } - ], - "start": 0, - "limit": 100, - "total": 2 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kyzlkLpxZLx5jUv4/enabled_connections", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", "body": "", "status": 200, "response": [], @@ -13826,7 +18737,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gqen5Wo1XmlD46eC/enabled_connections", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", "body": "", "status": 200, "response": [], @@ -13856,26 +18767,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -13883,18 +18786,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -13907,14 +18818,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000018117", + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-47282268-18be-4aaf-8b22-08fe19e10bdf/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -13955,17 +18877,6 @@ } ], "isPriority": false - }, - { - "id": "lst_0000000000018116", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false } ], "rawHeaders": [], diff --git a/test/e2e/recordings/should-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-deploy-without-throwing-an-error.json index 88fffddd..21c5ec17 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -6,14 +6,14 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 1, "start": 0, "limit": 100, "resource_servers": [ { - "id": "6698c226535e13b0f1b2a3c1", + "id": "62debacc54b4171c0378ea1f", "name": "Auth0 Management API", - "identifier": "https://kushal-dev.eu.auth0.com/api/v2/", + "identifier": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "allow_offline_access": false, "skip_consent_for_verifiable_first_party_clients": false, "token_lifetime": 86400, @@ -740,6 +740,14 @@ "description": "Update Connections Options", "value": "update:connections_options" }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -755,62 +763,21 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" - } - ], - "is_system": true - }, - { - "id": "66b2fc64e8c5ef8d40a0fe10", - "name": "Role test API", - "identifier": "role-test", - "allow_offline_access": false, - "skip_consent_for_verifiable_first_party_clients": true, - "token_lifetime": 86400, - "token_lifetime_for_web": 7200, - "signing_alg": "RS256", - "scopes": [ - { - "value": "read:doc", - "description": "doc read permission" - }, - { - "value": "update:doc", - "description": "doc update permission" - }, - { - "value": "read:user", - "description": "user read permission" - }, - { - "value": "update:user", - "description": "user update permission" - }, - { - "value": "read:api", - "description": "api read permission" - }, - { - "value": "update:api", - "description": "api update permission" - }, - { - "value": "read:post", - "description": "post read permission" }, { - "value": "update:post", - "description": "post update permission" + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" }, { - "value": "read:comment ", - "description": "comment read permission" + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" }, { - "value": "update:comment", - "description": "comment update permission" + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], - "token_dialect": "access_token" + "is_system": true } ] }, @@ -824,15 +791,15 @@ "body": "", "status": 200, "response": { - "total": 16, + "total": 8, "start": 0, "limit": 100, "clients": [ { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-Dev", + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, "sso_disabled": false, @@ -846,7 +813,6 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", "cross_origin_authentication": true, "signing_keys": [ { @@ -855,7 +821,7 @@ "subject": "deprecated" } ], - "client_id": "Ku5wNRXVrQbnITFA9yCr9b9SlCukFN8L", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -871,28 +837,15 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "API Explorer Application", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, "allowed_clients": [], "callbacks": [], "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, "native_social_login": { "apple": { "enabled": false @@ -901,65 +854,18 @@ "enabled": false } }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "tSJqoA0wpptageIV7f1D2bq3WgSgaPob", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Org test App", - "callbacks": [ - "http://localhost:3000" - ], - "cross_origin_auth": false, - "is_first_party": true, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, - "allowed_clients": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "organization_require_behavior": "post_login_prompt", - "organization_usage": "allow", - "allowed_logout_urls": [ - "http://localhost:3000" - ], + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -967,7 +873,7 @@ "subject": "deprecated" } ], - "client_id": "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -977,33 +883,22 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "spa", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Go test app kushal", + "name": "Node App", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:4002/", - "localhost:4002/logout" - ], - "callbacks": [ - "http://localhost:4002/", - "http://localhost:4002/callback" - ], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, - "cross_origin_authentication": true, "is_first_party": true, "native_social_login": { "apple": { @@ -1024,7 +919,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "organization_require_behavior": "no_prompt", + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1032,7 +927,8 @@ "subject": "deprecated" } ], - "client_id": "PxFLsPRVvz3wQrRQNI1dgQCESIDjiv8e", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1049,17 +945,20 @@ "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Role test API (Test Application)", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1069,7 +968,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1077,7 +977,7 @@ "subject": "deprecated" } ], - "client_id": "nz0xcpycpcsyEzZ9gBlQkJ47e6GPeXQB", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1093,10 +993,10 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-E2E", + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1110,7 +1010,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1118,7 +1018,7 @@ "subject": "deprecated" } ], - "client_id": "36TEM2e0l4GPf0LM8aH1lcJEZBp2DzvY", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1134,14 +1034,24 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "The Default App", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1151,8 +1061,9 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1160,7 +1071,7 @@ "subject": "deprecated" } ], - "client_id": "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1168,6 +1079,8 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -1177,55 +1090,24 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false } - ], - "client_id": "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Auth0-CLI", - "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1235,7 +1117,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1243,7 +1126,7 @@ "subject": "deprecated" } ], - "client_id": "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1251,6 +1134,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -1259,31 +1143,20 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Dev_DAY_APP", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, + "name": "Test SPA", "allowed_clients": [], "allowed_logout_urls": [ "http://localhost:3000" ], "callbacks": [ - "http://localhost:3000/api/auth/callback", "http://localhost:3000" ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, "native_social_login": { "apple": { "enabled": false @@ -1292,6 +1165,18 @@ "enabled": false } }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1299,7 +1184,7 @@ "subject": "deprecated" } ], - "client_id": "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1308,323 +1193,12 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "ixEERdhSidh32R6y7f1pzavjtho1mQoV", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" + "refresh_token" ], "web_origins": [ "http://localhost:3000" @@ -1638,8 +1212,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", + "method": "POST", + "path": "/api/v2/clients", "body": { "name": "Default App", "callbacks": [], @@ -1655,7 +1229,8 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "oidc_conformant": true, "refresh_token": { @@ -1669,9 +1244,9 @@ }, "sso_disabled": false }, - "status": 200, + "status": 201, "response": { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "Default App", @@ -1689,15 +1264,17 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", - "subject": "/CN=kushal-dev.eu.auth0.com" + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1709,155 +1286,23 @@ "authorization_code", "implicit", "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "body": { - "name": "Deploy CLI", - "app_type": "non_interactive", - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 200, - "response": { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=kushal-dev.eu.auth0.com" - } - ], - "client_id": "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "enabled": false, - "credentials": {}, - "name": "mandrill", - "default_from_address": "auth0-user@auth0.com" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false + "client_credentials" + ], + "custom_login_page_on": true }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/email", - "body": { - "enabled": false - }, + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", "status": 200, "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", "enabled": false }, "rawHeaders": [], @@ -1866,7 +1311,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1880,7 +1325,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -1894,7 +1339,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -1908,7 +1353,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1922,91 +1367,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/policies", - "body": [], - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", + "path": "/api/v2/guardian/factors/sms", "body": { - "provider": "auth0" + "enabled": false }, "status": 200, "response": { - "provider": "auth0" + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2014,635 +1381,293 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": { - "message_types": [] - }, - "status": 200, - "response": { - "message_types": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/prompts", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "universal_login_experience": "new" + "enabled": false }, "status": 200, "response": { - "universal_login_experience": "new", - "identifier_first": true, - "enable_ulp_wcag_compliance": false + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" + "enabled": false }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "method": "PUT", + "path": "/api/v2/guardian/factors/email", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, + "method": "PUT", + "path": "/api/v2/guardian/policies", + "body": [], "status": 200, - "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, + "response": [], "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/log-streams", - "body": "", - "status": 200, - "response": [ - { - "id": "lst_0000000000004837", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000004838", - "name": "Amazon EventBridge", - "type": "eventbridge", - "status": "active", - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/kushal-dev-a9c1f0a1-c9ad-45ea-9e7f-21df517bb0a9/auth0.logs" - }, - "filters": [ - { - "type": "category", - "name": "auth.login.success" - }, - { - "type": "category", - "name": "auth.login.notification" - }, - { - "type": "category", - "name": "auth.login.fail" - }, - { - "type": "category", - "name": "auth.signup.success" - }, - { - "type": "category", - "name": "auth.logout.success" - }, - { - "type": "category", - "name": "auth.logout.fail" - }, - { - "type": "category", - "name": "auth.silent_auth.fail" - }, - { - "type": "category", - "name": "auth.silent_auth.success" - }, - { - "type": "category", - "name": "auth.token_exchange.fail" - } - ], - "isPriority": false - } - ], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/selected-provider", + "body": { + "provider": "auth0" + }, + "status": 200, + "response": { + "provider": "auth0" + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains", - "body": "", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/message-types", + "body": { + "message_types": [] + }, "status": 200, - "response": [ - { - "custom_domain_id": "cd_eD0HsFcthsQON2V3", - "domain": "kushal-cli-test.acmetest.org", - "primary": true, - "status": "ready", - "type": "auth0_managed_certs", - "verification": { - "methods": [ - { - "name": "CNAME", - "record": "kushal-dev-cd-ed0hsfcthsqon2v3.edge.tenants.eu.auth0.com", - "domain": "kushal-cli-test.acmetest.org" - } - ] - }, - "tls_policy": "recommended" + "response": { + "message_types": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/prompts", + "body": { + "universal_login_experience": "new" + }, + "status": 200, + "response": { + "universal_login_experience": "new", + "identifier_first": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } } - ], + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, "status": 200, "response": { - "total": 17, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-Dev", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Ku5wNRXVrQbnITFA9yCr9b9SlCukFN8L", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "tSJqoA0wpptageIV7f1D2bq3WgSgaPob", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Org test App", - "callbacks": [ - "http://localhost:3000" - ], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "allowed_clients": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "organization_require_behavior": "post_login_prompt", - "organization_usage": "allow", - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Go test app kushal", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:4002/", - "localhost:4002/logout" - ], - "callbacks": [ - "http://localhost:4002/", - "http://localhost:4002/callback" - ], - "cross_origin_auth": false, - "cross_origin_authentication": true, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "organization_require_behavior": "no_prompt", - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "PxFLsPRVvz3wQrRQNI1dgQCESIDjiv8e", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Role test API (Test Application)", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "nz0xcpycpcsyEzZ9gBlQkJ47e6GPeXQB", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/log-streams", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000018410", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-E2E", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "isPriority": false + }, + { + "id": "lst_0000000000018411", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "36TEM2e0l4GPf0LM8aH1lcJEZBp2DzvY", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + { + "type": "category", + "name": "auth.login.notification" }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + { + "type": "category", + "name": "auth.login.fail" }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + { + "type": "category", + "name": "auth.signup.success" }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + { + "type": "category", + "name": "auth.silent_auth.fail" }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/custom-domains", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Auth0-CLI", + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, "sso_disabled": false, @@ -2664,7 +1689,7 @@ "subject": "deprecated" } ], - "client_id": "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2680,14 +1705,24 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Dev_DAY_APP", + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -2697,22 +1732,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000/api/auth/callback", - "http://localhost:3000" - ], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2720,7 +1741,7 @@ "subject": "deprecated" } ], - "client_id": "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2730,20 +1751,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [ - "http://localhost:3000" - ], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "Node App", @@ -2772,6 +1787,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2780,7 +1796,7 @@ } ], "allowed_origins": [], - "client_id": "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2801,10 +1817,13 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2818,6 +1837,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2825,7 +1845,7 @@ "subject": "deprecated" } ], - "client_id": "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2841,13 +1861,10 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2861,6 +1878,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2868,7 +1886,7 @@ "subject": "deprecated" } ], - "client_id": "ixEERdhSidh32R6y7f1pzavjtho1mQoV", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2884,7 +1902,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "The Default App", @@ -2913,6 +1931,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2920,7 +1939,7 @@ "subject": "deprecated" } ], - "client_id": "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2939,7 +1958,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "auth0-deploy-cli-extension", @@ -2967,6 +1986,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2974,7 +1994,7 @@ "subject": "deprecated" } ], - "client_id": "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2991,7 +2011,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "Test SPA", @@ -3024,6 +2044,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3031,7 +2052,7 @@ "subject": "deprecated" } ], - "client_id": "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3053,11 +2074,14 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", - "global": true, + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", "callbacks": [], + "cross_origin_auth": false, "is_first_party": true, - "name": "All Applications", + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -3067,11 +2091,8 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "owners": [ - "mr|google-oauth2|109614534713742077035" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3079,189 +2100,56 @@ "subject": "deprecated" } ], - "client_id": "2Mlaa9rTwG8PJkTuRLXoeNOy8MibpSPn", + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "callback_url_template": false, "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_1phMfGakxwdqWmih", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "enabled_clients": [ - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w" - ] + "custom_login_page_on": true }, { - "id": "con_hvEjcU2lcs9383To", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "configuration": {}, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n //\n // Note: Passing no arguments or a falsey first argument to\n // `WrongUsernameOrPasswordError` will result in the error being logged as\n // an `fu` event (invalid username/email) with an empty string for a user_id.\n // Providing a truthy first argument will result in the error being logged\n // as an `fp` event (the user exists, but the password is invalid) with a\n // user_id value of \"auth0|\". See the `Log Event Type Codes`\n // documentation for more information about these event types:\n // https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n\n const msg = 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database/';\n\n const testURL = \"https://kushal-dev.eu.auth0.com/api\";\n console.log(\"testURL: \", testURL);\n\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": false, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": false - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "strategy": "auth0", - "name": "DB-connection-Two", - "is_domain_connection": false, - "realms": [ - "DB-connection-Two" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "enabled_clients": [] - }, - { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", - "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", - "ixEERdhSidh32R6y7f1pzavjtho1mQoV", - "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", - "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M" - ] + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -3275,12 +2163,12 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 1, "start": 0, "limit": 100, "connections": [ { - "id": "con_1phMfGakxwdqWmih", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, @@ -3336,29 +2224,44 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "connections": [ { - "id": "con_hvEjcU2lcs9383To", + "id": "con_F2SzQr9voPPsGlSe", "options": { "mfa": { "active": true, "return_enroll_settings": true }, "import_mode": false, - "configuration": {}, "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n //\n // Note: Passing no arguments or a falsey first argument to\n // `WrongUsernameOrPasswordError` will result in the error being logged as\n // an `fu` event (invalid username/email) with an empty string for a user_id.\n // Providing a truthy first argument will result in the error being logged\n // as an `fp` event (the user exists, but the password is invalid) with a\n // user_id value of \"auth0|\". See the `Log Event Type Codes`\n // documentation for more information about these event types:\n // https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n\n const msg = 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database/';\n\n const testURL = \"https://kushal-dev.eu.auth0.com/api\";\n console.log(\"testURL: \", testURL);\n\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" }, "disable_signup": false, - "passwordPolicy": "good", + "passwordPolicy": "low", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, @@ -3371,7 +2274,7 @@ "strategy_version": 2, "requires_username": true, "password_dictionary": { - "enable": false, + "enable": true, "dictionary": [] }, "authentication_methods": { @@ -3384,7 +2287,7 @@ }, "brute_force_protection": true, "password_no_personal_info": { - "enable": false + "enable": true }, "password_complexity_options": { "min_length": 8 @@ -3392,55 +2295,14 @@ "enabledDatabaseCustomization": true }, "strategy": "auth0", - "name": "DB-connection-Two", - "is_domain_connection": false, - "realms": [ - "DB-connection-Two" - ], - "enabled_clients": [] - }, - { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", + "name": "boo-baz-db-connection-test", "is_domain_connection": false, "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" ], "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", - "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", - "ixEERdhSidh32R6y7f1pzavjtho1mQoV", - "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", - "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M" + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" ] } ] @@ -3450,65 +2312,14 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_0wl0dLTgEBQTMRrK", - "body": "", - "status": 200, - "response": { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", - "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", - "ixEERdhSidh32R6y7f1pzavjtho1mQoV", - "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", - "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_0wl0dLTgEBQTMRrK", + "method": "POST", + "path": "/api/v2/connections", "body": { + "name": "Username-Password-Authentication", + "strategy": "auth0", "enabled_clients": [ - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" ], "is_domain_connection": false, "options": { @@ -3517,57 +2328,44 @@ "return_enroll_settings": true }, "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, "brute_force_protection": true }, "realms": [ "Username-Password-Authentication" ] }, - "status": 200, + "status": 201, "response": { - "id": "con_0wl0dLTgEBQTMRrK", + "id": "con_0izbLRpsXgcRJlU7", "options": { "mfa": { "active": true, "return_enroll_settings": true }, "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, "strategy_version": 2, + "brute_force_protection": true, "authentication_methods": { - "passkey": { - "enabled": false - }, "password": { "enabled": true + }, + "passkey": { + "enabled": false } }, - "brute_force_protection": true + "passkey_options": { + "challenge_ui": "both", + "progressive_enrollment_enabled": true, + "local_enrollment_enabled": true + } }, "strategy": "auth0", "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48" + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], "realms": [ "Username-Password-Authentication" @@ -3583,15 +2381,15 @@ "body": "", "status": 200, "response": { - "total": 17, + "total": 10, "start": 0, "limit": 100, "clients": [ { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-Dev", + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, "sso_disabled": false, @@ -3605,7 +2403,6 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", "cross_origin_authentication": true, "signing_keys": [ { @@ -3614,7 +2411,7 @@ "subject": "deprecated" } ], - "client_id": "Ku5wNRXVrQbnITFA9yCr9b9SlCukFN8L", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3630,28 +2427,15 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "API Explorer Application", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, "allowed_clients": [], "callbacks": [], "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, "native_social_login": { "apple": { "enabled": false @@ -3660,65 +2444,18 @@ "enabled": false } }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "tSJqoA0wpptageIV7f1D2bq3WgSgaPob", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Org test App", - "callbacks": [ - "http://localhost:3000" - ], - "cross_origin_auth": false, - "is_first_party": true, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, - "allowed_clients": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "organization_require_behavior": "post_login_prompt", - "organization_usage": "allow", - "allowed_logout_urls": [ - "http://localhost:3000" - ], + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3726,7 +2463,7 @@ "subject": "deprecated" } ], - "client_id": "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3736,33 +2473,22 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "spa", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Go test app kushal", + "name": "Node App", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:4002/", - "localhost:4002/logout" - ], - "callbacks": [ - "http://localhost:4002/", - "http://localhost:4002/callback" - ], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, - "cross_origin_authentication": true, "is_first_party": true, "native_social_login": { "apple": { @@ -3783,7 +2509,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "organization_require_behavior": "no_prompt", + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3791,7 +2517,8 @@ "subject": "deprecated" } ], - "client_id": "PxFLsPRVvz3wQrRQNI1dgQCESIDjiv8e", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3808,17 +2535,20 @@ "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Role test API (Test Application)", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -3828,7 +2558,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3836,7 +2567,7 @@ "subject": "deprecated" } ], - "client_id": "nz0xcpycpcsyEzZ9gBlQkJ47e6GPeXQB", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3852,10 +2583,10 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-E2E", + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3869,7 +2600,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3877,7 +2608,7 @@ "subject": "deprecated" } ], - "client_id": "36TEM2e0l4GPf0LM8aH1lcJEZBp2DzvY", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3893,14 +2624,24 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "The Default App", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -3910,8 +2651,9 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3919,7 +2661,7 @@ "subject": "deprecated" } ], - "client_id": "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3927,6 +2669,8 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -3936,12 +2680,23 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3953,7 +2708,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "cross_origin_authentication": true, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3961,7 +2716,7 @@ "subject": "deprecated" } ], - "client_id": "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3969,6 +2724,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -3977,24 +2733,88 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Auth0-CLI", + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4002,7 +2822,7 @@ "subject": "deprecated" } ], - "client_id": "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4010,142 +2830,384 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true }, { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Dev_DAY_APP", + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000/api/auth/callback", - "http://localhost:3000" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_0izbLRpsXgcRJlU7", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" ], - "native_social_login": { - "apple": { - "enabled": false + "enabled_clients": [ + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" ], - "client_id": "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [ - "http://localhost:3000" + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" ], - "custom_login_page_on": true + "enabled_clients": [ + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] }, { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "id": "con_0izbLRpsXgcRJlU7", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" ], - "web_origins": [], - "custom_login_page_on": true - }, + "enabled_clients": [ + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + ], + "is_domain_connection": false, + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + } + }, + "status": 200, + "response": { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + ], + "realms": [ + "google-oauth2" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -4155,7 +3217,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -4163,7 +3225,7 @@ "subject": "deprecated" } ], - "client_id": "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4179,15 +3241,23 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4199,6 +3269,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4206,7 +3277,7 @@ "subject": "deprecated" } ], - "client_id": "ixEERdhSidh32R6y7f1pzavjtho1mQoV", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4214,6 +3285,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -4222,11 +3294,12 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -4239,18 +3312,18 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4258,7 +3331,8 @@ "subject": "deprecated" } ], - "client_id": "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4268,32 +3342,26 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4305,6 +3373,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4312,7 +3381,7 @@ "subject": "deprecated" } ], - "client_id": "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4320,7 +3389,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -4329,658 +3397,297 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "owners": [ - "mr|google-oauth2|109614534713742077035" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "2Mlaa9rTwG8PJkTuRLXoeNOy8MibpSPn", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 5, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_1phMfGakxwdqWmih", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w" - ] - }, - { - "id": "con_hvEjcU2lcs9383To", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "configuration": {}, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n //\n // Note: Passing no arguments or a falsey first argument to\n // `WrongUsernameOrPasswordError` will result in the error being logged as\n // an `fu` event (invalid username/email) with an empty string for a user_id.\n // Providing a truthy first argument will result in the error being logged\n // as an `fp` event (the user exists, but the password is invalid) with a\n // user_id value of \"auth0|\". See the `Log Event Type Codes`\n // documentation for more information about these event types:\n // https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n\n const msg = 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database/';\n\n const testURL = \"https://kushal-dev.eu.auth0.com/api\";\n console.log(\"testURL: \", testURL);\n\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": false, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": false - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "strategy": "auth0", - "name": "DB-connection-Two", - "is_domain_connection": false, - "realms": [ - "DB-connection-Two" + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "enabled_clients": [] + "custom_login_page_on": true }, { - "id": "con_mqMWaGAUUOvPX3Ej", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M" - ] - }, - { - "id": "con_iYlZ1DESGzYFLzgc", - "options": { - "type": "back_channel", - "scope": "openid profile email", - "domain": "domain.okta.com", - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "client_id": "qwqwqwqw", - "attribute_map": { - "mapping_mode": "basic_profile" - }, - "client_secret": "[REDACTED]", - "oidc_metadata": { - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "claims_supported": [ - "iss", - "ver", - "sub", - "aud", - "iat", - "exp", - "jti", - "auth_time", - "amr", - "idp", - "nonce", - "name", - "nickname", - "preferred_username", - "given_name", - "middle_name", - "family_name", - "email", - "email_verified", - "profile", - "zoneinfo", - "locale", - "address", - "phone_number", - "picture", - "website", - "gender", - "birthdate", - "updated_at", - "at_hash", - "c_hash" - ], - "scopes_supported": [ - "openid", - "email", - "profile", - "address", - "phone", - "offline_access", - "groups" - ], - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "revocation_endpoint": "https://domain.okta.com/oauth2/v1/revoke", - "end_session_endpoint": "https://domain.okta.com/oauth2/v1/logout", - "grant_types_supported": [ - "authorization_code", - "implicit", - "refresh_token", - "password", - "urn:ietf:params:oauth:grant-type:device_code" - ], - "registration_endpoint": "https://domain.okta.com/oauth2/v1/clients", - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize", - "introspection_endpoint": "https://domain.okta.com/oauth2/v1/introspect", - "subject_types_supported": [ - "public" - ], - "response_modes_supported": [ - "query", - "fragment", - "form_post", - "okta_post_message" - ], - "response_types_supported": [ - "code", - "id_token", - "code id_token", - "code token", - "id_token token", - "code id_token token" - ], - "claims_parameter_supported": false, - "request_parameter_supported": true, - "device_authorization_endpoint": "https://domain.okta.com/oauth2/v1/device/authorize", - "request_uri_parameter_supported": false, - "code_challenge_methods_supported": [ - "S256" - ], - "require_request_uri_registration": false, - "dpop_signing_alg_values_supported": [ - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "id_token_signing_alg_values_supported": [ - "RS256" - ], - "token_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "revocation_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "request_object_signing_alg_values_supported": [ - "HS256", - "HS384", - "HS512", - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "introspection_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ] - }, - "schema_version": "oidc-V4", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "connection_settings": { - "pkce": "auto" - }, - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize" - }, - "strategy": "okta", - "name": "test-scim-con", - "is_domain_connection": false, - "show_as_button": false, - "display_name": "test-scim-con", - "realms": [ - "test-scim-con" + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "enabled_clients": [] + "custom_login_page_on": true }, { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_iYlZ1DESGzYFLzgc/scim-configuration", - "body": "", - "status": 200, - "response": { - "tenant_name": "kushal-dev", - "connection_id": "con_iYlZ1DESGzYFLzgc", - "connection_name": "test-scim-con", - "strategy": "okta", - "mapping": [ - { - "scim": "user_Name", - "auth0": "preferred_username" - }, - { - "scim": "emails[primary eq true].value", - "auth0": "email" - }, - { - "scim": "externalId", - "auth0": "app_metadata.external_id" - }, - { - "scim": "active", - "auth0": "blocked" - }, - { - "scim": "displayName", - "auth0": "name" - }, - { - "scim": "name.givenName", - "auth0": "given_name" - }, - { - "scim": "name.familyName", - "auth0": "family_name" - }, - { - "scim": "name.middleName", - "auth0": "app_metadata.middle_name" - }, - { - "scim": "name.honorificPrefix", - "auth0": "app_metadata.honorific_prefix" - }, - { - "scim": "name.honorificSuffix", - "auth0": "app_metadata.honorific_suffix" - }, - { - "scim": "nickName", - "auth0": "nickname" - }, - { - "scim": "photos[type eq \"photo\"].value", - "auth0": "picture" - }, - { - "scim": "phoneNumbers[primary eq true].value", - "auth0": "app_metadata.primary_phone_number" - }, - { - "scim": "phoneNumbers[type eq \"mobile\"].value", - "auth0": "app_metadata.mobile_phone_number" - }, - { - "scim": "addresses[type eq \"work\"].streetAddress", - "auth0": "app_metadata.street_address" - }, - { - "scim": "addresses[type eq \"work\"].locality", - "auth0": "app_metadata.city" - }, - { - "scim": "addresses[type eq \"work\"].region", - "auth0": "app_metadata.state" - }, - { - "scim": "addresses[type eq \"work\"].postalCode", - "auth0": "app_metadata.postal_code" - }, - { - "scim": "addresses[type eq \"work\"].formatted", - "auth0": "app_metadata.postal_address" - }, - { - "scim": "addresses[type eq \"work\"].country", - "auth0": "app_metadata.country" - }, - { - "scim": "profileUrl", - "auth0": "app_metadata.profile_url" - }, - { - "scim": "userType", - "auth0": "app_metadata.user_type" - }, - { - "scim": "title", - "auth0": "app_metadata.title" - }, - { - "scim": "preferredLanguage", - "auth0": "app_metadata.language" - }, - { - "scim": "locale", - "auth0": "app_metadata.locale" - }, - { - "scim": "timezone", - "auth0": "app_metadata.timezone" - }, - { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber", - "auth0": "app_metadata.employee_id" - }, - { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter", - "auth0": "app_metadata.cost_center" - }, - { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization", - "auth0": "app_metadata.organization" + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division", - "auth0": "app_metadata.division" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true }, { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department", - "auth0": "app_metadata.department" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true }, { - "scim": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager", - "auth0": "app_metadata.manager" + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } - ], - "updated_on": "2024-09-26T07:32:32.925Z", - "created_at": "2024-09-24T11:32:46.187Z", - "user_id_attribute": "externalId" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 429, - "response": { - "statusCode": 429, - "error": "Too Many Requests", - "message": "Global limit has been reached", - "errorCode": "too_many_requests" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4988,393 +3695,484 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 5, + "total": 3, "start": 0, "limit": 100, - "connections": [ + "client_grants": [ { - "id": "con_1phMfGakxwdqWmih", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w" + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_hvEjcU2lcs9383To", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "configuration": {}, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n //\n // Note: Passing no arguments or a falsey first argument to\n // `WrongUsernameOrPasswordError` will result in the error being logged as\n // an `fu` event (invalid username/email) with an empty string for a user_id.\n // Providing a truthy first argument will result in the error being logged\n // as an `fp` event (the user exists, but the password is invalid) with a\n // user_id value of \"auth0|\". See the `Log Event Type Codes`\n // documentation for more information about these event types:\n // https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n\n const msg = 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database/';\n\n const testURL = \"https://kushal-dev.eu.auth0.com/api\";\n console.log(\"testURL: \", testURL);\n\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": false, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": false - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "DB-connection-Two", - "is_domain_connection": false, - "realms": [ - "DB-connection-Two" - ], - "enabled_clients": [] - }, - { - "id": "con_mqMWaGAUUOvPX3Ej", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M" + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_iYlZ1DESGzYFLzgc", - "options": { - "type": "back_channel", - "scope": "openid profile email", - "domain": "domain.okta.com", - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "client_id": "qwqwqwqw", - "attribute_map": { - "mapping_mode": "basic_profile" - }, - "client_secret": "[REDACTED]", - "oidc_metadata": { - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "claims_supported": [ - "iss", - "ver", - "sub", - "aud", - "iat", - "exp", - "jti", - "auth_time", - "amr", - "idp", - "nonce", - "name", - "nickname", - "preferred_username", - "given_name", - "middle_name", - "family_name", - "email", - "email_verified", - "profile", - "zoneinfo", - "locale", - "address", - "phone_number", - "picture", - "website", - "gender", - "birthdate", - "updated_at", - "at_hash", - "c_hash" - ], - "scopes_supported": [ - "openid", - "email", - "profile", - "address", - "phone", - "offline_access", - "groups" - ], - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "revocation_endpoint": "https://domain.okta.com/oauth2/v1/revoke", - "end_session_endpoint": "https://domain.okta.com/oauth2/v1/logout", - "grant_types_supported": [ - "authorization_code", - "implicit", - "refresh_token", - "password", - "urn:ietf:params:oauth:grant-type:device_code" - ], - "registration_endpoint": "https://domain.okta.com/oauth2/v1/clients", - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize", - "introspection_endpoint": "https://domain.okta.com/oauth2/v1/introspect", - "subject_types_supported": [ - "public" - ], - "response_modes_supported": [ - "query", - "fragment", - "form_post", - "okta_post_message" - ], - "response_types_supported": [ - "code", - "id_token", - "code id_token", - "code token", - "id_token token", - "code id_token token" - ], - "claims_parameter_supported": false, - "request_parameter_supported": true, - "device_authorization_endpoint": "https://domain.okta.com/oauth2/v1/device/authorize", - "request_uri_parameter_supported": false, - "code_challenge_methods_supported": [ - "S256" - ], - "require_request_uri_registration": false, - "dpop_signing_alg_values_supported": [ - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "id_token_signing_alg_values_supported": [ - "RS256" - ], - "token_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "revocation_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "request_object_signing_alg_values_supported": [ - "HS256", - "HS384", - "HS512", - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "introspection_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ] - }, - "schema_version": "oidc-V4", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "connection_settings": { - "pkce": "auto" - }, - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize" - }, - "strategy": "okta", - "name": "test-scim-con", - "is_domain_connection": false, - "show_as_button": false, - "display_name": "test-scim-con", - "realms": [ - "test-scim-con" - ], - "enabled_clients": [] - }, - { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_mqMWaGAUUOvPX3Ej", - "body": { - "enabled_clients": [ - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48" - ], - "is_domain_connection": false, - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - } - }, - "status": 200, - "response": { - "id": "con_mqMWaGAUUOvPX3Ej", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "enabled_clients": [ - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48" - ], - "realms": [ - "google-oauth2" + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } ] }, "rawHeaders": [], @@ -5383,408 +4181,271 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 17, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-Dev", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Ku5wNRXVrQbnITFA9yCr9b9SlCukFN8L", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "custom_login_page_preview": "\n\n\n \n \n Sign In with Auth0\n \n\n\n\n \n\n \n\n \n \n\n ", - "cross_origin_authentication": true, - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "tSJqoA0wpptageIV7f1D2bq3WgSgaPob", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Org test App", - "callbacks": [ - "http://localhost:3000" - ], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "allowed_clients": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "organization_require_behavior": "post_login_prompt", - "organization_usage": "allow", - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "NVZw2D4EQ99E4yIPEj2hE9kZJfyPTz89", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Go test app kushal", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:4002/", - "localhost:4002/logout" - ], - "callbacks": [ - "http://localhost:4002/", - "http://localhost:4002/callback" - ], - "cross_origin_auth": false, - "cross_origin_authentication": true, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "organization_require_behavior": "no_prompt", - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "PxFLsPRVvz3wQrRQNI1dgQCESIDjiv8e", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Role test API (Test Application)", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "nz0xcpycpcsyEzZ9gBlQkJ47e6GPeXQB", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "roles": [ + { + "id": "rol_5aXYTodKygq1Yuaj", + "name": "Admin", + "description": "Can read and write things" }, { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "DeployCLI-E2E", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "36TEM2e0l4GPf0LM8aH1lcJEZBp2DzvY", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "id": "rol_YWfS3O6ZI5WrsrYW", + "name": "Reader", + "description": "Can only read things" }, { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ + "id": "rol_q30FzIeU1tOybF2I", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_GclzJFap0cQjnukV", + "name": "read_osnly", + "description": "Readz Only" + } + ], + "start": 0, + "limit": 100, + "total": 4 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "name": "My Custom Action", + "supported_triggers": [ { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "id": "post-login", + "version": "v2" } ], - "client_id": "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-10-30T13:46:58.563199950Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-30T13:46:59.332135805Z", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z" }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "kushal-dev", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "deployed": true, + "number": 2, + "built_at": "2024-10-30T13:46:59.332135805Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, - "sso_disabled": false, - "cross_origin_authentication": true, - "signing_keys": [ + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "name": "My Custom Action", + "supported_triggers": [ { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "id": "post-login", + "version": "v2" } ], - "client_id": "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-10-30T13:46:58.563199950Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-30T13:46:59.332135805Z", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z" }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "deployed": true, + "number": 2, + "built_at": "2024-10-30T13:46:59.332135805Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_W3jteblmyX4vVdpE", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } }, { - "tenant": "kushal-dev", + "id": "org_uMVVAPzVdtaJkuAE", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Auth0-CLI", + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, "sso_disabled": false, @@ -5806,7 +4467,7 @@ "subject": "deprecated" } ], - "client_id": "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5822,14 +4483,24 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Dev_DAY_APP", + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -5839,22 +4510,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000/api/auth/callback", - "http://localhost:3000" - ], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5862,7 +4519,7 @@ "subject": "deprecated" } ], - "client_id": "ep5F5NHBlHlfjE1ijeuHepR3HUrdYpyv", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5872,20 +4529,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [ - "http://localhost:3000" - ], "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "Node App", @@ -5914,6 +4565,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5922,7 +4574,7 @@ } ], "allowed_origins": [], - "client_id": "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w", + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5943,10 +4595,13 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -5960,6 +4615,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5967,7 +4623,7 @@ "subject": "deprecated" } ], - "client_id": "3ykmF4bLMigp4Zbsznqj9uCPqLB7e95d", + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5983,13 +4639,10 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6003,6 +4656,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6010,7 +4664,7 @@ "subject": "deprecated" } ], - "client_id": "ixEERdhSidh32R6y7f1pzavjtho1mQoV", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6026,7 +4680,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "The Default App", @@ -6055,6 +4709,7 @@ }, "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6062,7 +4717,7 @@ "subject": "deprecated" } ], - "client_id": "1v0GKWhDqqo1jgK2agXhuOarWC45wra6", + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6081,7 +4736,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "auth0-deploy-cli-extension", @@ -6109,6 +4764,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6116,7 +4772,7 @@ "subject": "deprecated" } ], - "client_id": "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6133,7 +4789,7 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, "name": "Test SPA", @@ -6166,6 +4822,7 @@ "rotation_type": "rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6173,7 +4830,7 @@ "subject": "deprecated" } ], - "client_id": "u6vM7mQRWqavasw69Fye6E5mMduHlfOX", + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6195,7 +4852,50 @@ "custom_login_page_on": true }, { - "tenant": "kushal-dev", + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", "global": true, "callbacks": [], "is_first_party": true, @@ -6210,7 +4910,11 @@ "rotation_type": "non-rotating" }, "owners": [ - "mr|google-oauth2|109614534713742077035" + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", "cross_origin_authentication": true, @@ -6221,7 +4925,7 @@ "subject": "deprecated" } ], - "client_id": "2Mlaa9rTwG8PJkTuRLXoeNOy8MibpSPn", + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", "custom_login_page_on": true } @@ -6230,6 +4934,179 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + ] + }, + { + "id": "con_0izbLRpsXgcRJlU7", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -6237,14 +5114,14 @@ "body": "", "status": 200, "response": { - "total": 5, + "total": 3, "start": 0, "limit": 100, "client_grants": [ { - "id": "cgr_PBDulb2RDmVsaV8K", - "client_id": "gdpNdEa0sdFOX1VZJ4xtycnNR1G5TlRg", - "audience": "https://kushal-dev.eu.auth0.com/api/v2/", + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -6359,11 +5236,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -6380,62 +5252,13 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "delete:sessions", - "read:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] }, { - "id": "cgr_lQdgqLzk48XJMaLd", - "client_id": "tSJqoA0wpptageIV7f1D2bq3WgSgaPob", - "audience": "https://kushal-dev.eu.auth0.com/api/v2/", + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -6550,11 +5373,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -6566,213 +5384,18 @@ "read:organization_connections", "update:organization_connections", "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "delete:sessions", - "read:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" - ] - }, - { - "id": "cgr_lfkNuD4NKfoMoL30", - "client_id": "36TEM2e0l4GPf0LM8aH1lcJEZBp2DzvY", - "audience": "https://kushal-dev.eu.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "update:client_grants", - "read:users", - "update:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "read:hooks", - "update:hooks", - "create:hooks", - "read:actions", - "update:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "read:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "read:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "read:log_streams", - "create:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "create:organization_members", - "read:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "create:scim_token", - "read:scim_token", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "read:sessions", - "read:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "create:sso_access_tickets", - "read:forms", - "update:forms", - "create:forms", - "read:flows", - "update:flows", - "create:flows", - "read:flows_vault", - "update:flows_vault", - "create:flows_vault", - "read:flows_executions", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:flows_vault" + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "cgr_nJtazvkmfkXNtMM8", - "client_id": "Ku5wNRXVrQbnITFA9yCr9b9SlCukFN8L", - "audience": "https://kushal-dev.eu.auth0.com/api/v2/", + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -6954,17 +5577,16 @@ "delete:flows_executions", "read:connections_options", "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", "read:client_credentials", "create:client_credentials", "update:client_credentials", - "delete:client_credentials" + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] - }, - { - "id": "cgr_qIYNlHVE26JcxZPs", - "client_id": "nz0xcpycpcsyEzZ9gBlQkJ47e6GPeXQB", - "audience": "role-test", - "scope": [] } ] }, @@ -6974,741 +5596,501 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "roles": [ - { - "id": "rol_gq08I4FPXNktjm65", - "name": "dev-int", - "description": "internal developer " - } - ], + "total": 10, "start": 0, "limit": 100, - "total": 1 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_gq08I4FPXNktjm65/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [ - { - "permission_name": "read:api", - "description": "api read permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "read:comment ", - "description": "comment read permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "read:doc", - "description": "doc read permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "read:post", - "description": "post read permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "read:user", - "description": "user read permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "update:api", - "description": "api update permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, - { - "permission_name": "update:comment", - "description": "comment update permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - }, + "clients": [ { - "permission_name": "update:doc", - "description": "doc update permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "permission_name": "update:post", - "description": "post update permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "permission_name": "update:user", - "description": "user update permission", - "resource_server_name": "Role test API", - "resource_server_identifier": "role-test" - } - ], - "start": 0, - "limit": 100, - "total": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ - { - "id": "e105b5a8-cdea-4292-b588-383cb12bdbcc", - "name": "k-flow", - "supported_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v3" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-08-11T18:43:54.559933482Z", - "updated_at": "2024-09-26T07:32:36.751347258Z", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18-actions", - "status": "built", - "secrets": [ - { - "name": "my_secret_url", - "updated_at": "2024-09-18T09:55:00.423293831Z" - }, + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "name": "sec_1", - "updated_at": "2024-09-18T09:55:00.423293831Z" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "current_version": { - "id": "44dd594d-c57d-490f-b22b-5fb499b81afd", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18-actions", - "status": "BUILT", - "number": 51, - "build_time": "2024-09-26T07:32:46.544296361Z", - "created_at": "2024-09-26T07:32:46.472453906Z", - "updated_at": "2024-09-26T07:32:46.544910189Z" + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "deployed_version": { - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "44dd594d-c57d-490f-b22b-5fb499b81afd", - "deployed": true, - "number": 51, - "built_at": "2024-09-26T07:32:46.544296361Z", - "secrets": [ - { - "name": "my_secret_url", - "updated_at": "2024-09-18T09:55:00.423293831Z" - }, - { - "name": "sec_1", - "updated_at": "2024-09-18T09:55:00.423293831Z" - } - ], - "status": "built", - "created_at": "2024-09-26T07:32:46.472453906Z", - "updated_at": "2024-09-26T07:32:46.544910189Z", - "runtime": "node18-actions", - "supported_triggers": [ - { - "id": "post-login", - "version": "v3" - } - ] + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, - "all_changes_deployed": true - }, - { - "id": "4301ffb3-fc3f-40cb-9b0b-2bb23f090327", - "name": "post-login-onbording", - "supported_triggers": [ + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v3" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-08-12T11:09:42.970451051Z", - "updated_at": "2024-09-26T07:32:37.762276179Z", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18-actions", - "status": "built", - "secrets": [], - "current_version": { - "id": "7a9f26f0-d5d7-45e5-b9a0-eaa9a6430299", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18-actions", - "status": "BUILT", - "number": 46, - "build_time": "2024-09-26T07:32:38.298040484Z", - "created_at": "2024-09-26T07:32:38.223235246Z", - "updated_at": "2024-09-26T07:32:38.299546854Z" - }, - "deployed_version": { - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "7a9f26f0-d5d7-45e5-b9a0-eaa9a6430299", - "deployed": true, - "number": 46, - "built_at": "2024-09-26T07:32:38.298040484Z", - "secrets": [], - "status": "built", - "created_at": "2024-09-26T07:32:38.223235246Z", - "updated_at": "2024-09-26T07:32:38.299546854Z", - "runtime": "node18-actions", - "supported_triggers": [ - { - "id": "post-login", - "version": "v3" - } - ] + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "all_changes_deployed": true - } - ], - "total": 2, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ - { - "id": "e105b5a8-cdea-4292-b588-383cb12bdbcc", - "name": "k-flow", - "supported_triggers": [ - { - "id": "post-login", - "version": "v3" - } + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "created_at": "2024-08-11T18:43:54.559933482Z", - "updated_at": "2024-09-26T07:32:36.751347258Z", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18-actions", - "status": "built", - "secrets": [ - { - "name": "my_secret_url", - "updated_at": "2024-09-18T09:55:00.423293831Z" + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - { - "name": "sec_1", - "updated_at": "2024-09-18T09:55:00.423293831Z" + "facebook": { + "enabled": false } - ], - "current_version": { - "id": "44dd594d-c57d-490f-b22b-5fb499b81afd", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18-actions", - "status": "BUILT", - "number": 51, - "build_time": "2024-09-26T07:32:46.544296361Z", - "created_at": "2024-09-26T07:32:46.472453906Z", - "updated_at": "2024-09-26T07:32:46.544910189Z" }, - "deployed_version": { - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n console.log(event.secrets)\n // if (event.user.nickname != \"kushal.shit\"){\n // api.access.deny(\"Unknown user!!\")\n // }\n};\n\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "44dd594d-c57d-490f-b22b-5fb499b81afd", - "deployed": true, - "number": 51, - "built_at": "2024-09-26T07:32:46.544296361Z", - "secrets": [ - { - "name": "my_secret_url", - "updated_at": "2024-09-18T09:55:00.423293831Z" - }, - { - "name": "sec_1", - "updated_at": "2024-09-18T09:55:00.423293831Z" - } - ], - "status": "built", - "created_at": "2024-09-26T07:32:46.472453906Z", - "updated_at": "2024-09-26T07:32:46.544910189Z", - "runtime": "node18-actions", - "supported_triggers": [ - { - "id": "post-login", - "version": "v3" - } - ] + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "all_changes_deployed": true - }, - { - "id": "4301ffb3-fc3f-40cb-9b0b-2bb23f090327", - "name": "post-login-onbording", - "supported_triggers": [ + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v3" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "created_at": "2024-08-12T11:09:42.970451051Z", - "updated_at": "2024-09-26T07:32:37.762276179Z", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18-actions", - "status": "built", - "secrets": [], - "current_version": { - "id": "7a9f26f0-d5d7-45e5-b9a0-eaa9a6430299", - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18-actions", - "status": "BUILT", - "number": 46, - "build_time": "2024-09-26T07:32:38.298040484Z", - "created_at": "2024-09-26T07:32:38.223235246Z", - "updated_at": "2024-09-26T07:32:38.299546854Z" - }, - "deployed_version": { - "code": "/**\n* Handler that will be called during the execution of a PostLogin flow.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\nexports.onExecutePostLogin = async (event, api) => {\n const FORM_ID = 'ap_vHcEKGZJ5oaTYTePwe2W1T';\n\n api.prompt.render(FORM_ID);\n};\nexports.onContinuePostLogin = async (event, api) => {}\n\n/**\n* Handler that will be invoked when this action is resuming after an external redirect. If your\n* onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n*\n* @param {Event} event - Details about the user and the context in which they are logging in.\n* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n*/\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "7a9f26f0-d5d7-45e5-b9a0-eaa9a6430299", - "deployed": true, - "number": 46, - "built_at": "2024-09-26T07:32:38.298040484Z", - "secrets": [], - "status": "built", - "created_at": "2024-09-26T07:32:38.223235246Z", - "updated_at": "2024-09-26T07:32:38.299546854Z", - "runtime": "node18-actions", - "supported_triggers": [ - { - "id": "post-login", - "version": "v3" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 2, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_6GeloXhZx6QpiCMz", - "name": "kushal-dev-org", - "display_name": "kushal-dev Organization" - } - ], - "start": 0, - "limit": 100, - "total": 1 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_6GeloXhZx6QpiCMz/enabled_connections", - "body": "", - "status": 200, - "response": [ - { - "connection_id": "con_0wl0dLTgEBQTMRrK", - "assign_membership_on_login": true, - "is_signup_enabled": true, - "show_as_button": true, - "connection": { - "name": "Username-Password-Authentication", - "strategy": "auth0" - } - } - ], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 5, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_1phMfGakxwdqWmih", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "enabled_clients": [ - "4mEZRv7D0zLfbSSWbsibdwaoYIVlRP0M", - "ltna78HqWdPRiEHoLy119Dfs1iRMyR1w" - ] + "custom_login_page_on": true }, { - "id": "con_hvEjcU2lcs9383To", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "configuration": {}, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n //\n // Note: Passing no arguments or a falsey first argument to\n // `WrongUsernameOrPasswordError` will result in the error being logged as\n // an `fu` event (invalid username/email) with an empty string for a user_id.\n // Providing a truthy first argument will result in the error being logged\n // as an `fp` event (the user exists, but the password is invalid) with a\n // user_id value of \"auth0|\". See the `Log Event Type Codes`\n // documentation for more information about these event types:\n // https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n\n const msg = 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database/';\n\n const testURL = \"https://kushal-dev.eu.auth0.com/api\";\n console.log(\"testURL: \", testURL);\n\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg = 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg = 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": false, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": false - }, - "password_complexity_options": { - "min_length": 8 + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "enabledDatabaseCustomization": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "DB-connection-Two", - "is_domain_connection": false, - "realms": [ - "DB-connection-Two" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "enabled_clients": [] + "custom_login_page_on": true }, { - "id": "con_mqMWaGAUUOvPX3Ej", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX", - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48" - ] + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true }, { - "id": "con_iYlZ1DESGzYFLzgc", - "options": { - "type": "back_channel", - "scope": "openid profile email", - "domain": "domain.okta.com", - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "client_id": "qwqwqwqw", - "attribute_map": { - "mapping_mode": "basic_profile" - }, - "client_secret": "[REDACTED]", - "oidc_metadata": { - "issuer": "https://domain.okta.com", - "jwks_uri": "https://domain.okta.com/oauth2/v1/keys", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "claims_supported": [ - "iss", - "ver", - "sub", - "aud", - "iat", - "exp", - "jti", - "auth_time", - "amr", - "idp", - "nonce", - "name", - "nickname", - "preferred_username", - "given_name", - "middle_name", - "family_name", - "email", - "email_verified", - "profile", - "zoneinfo", - "locale", - "address", - "phone_number", - "picture", - "website", - "gender", - "birthdate", - "updated_at", - "at_hash", - "c_hash" - ], - "scopes_supported": [ - "openid", - "email", - "profile", - "address", - "phone", - "offline_access", - "groups" - ], - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "revocation_endpoint": "https://domain.okta.com/oauth2/v1/revoke", - "end_session_endpoint": "https://domain.okta.com/oauth2/v1/logout", - "grant_types_supported": [ - "authorization_code", - "implicit", - "refresh_token", - "password", - "urn:ietf:params:oauth:grant-type:device_code" - ], - "registration_endpoint": "https://domain.okta.com/oauth2/v1/clients", - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize", - "introspection_endpoint": "https://domain.okta.com/oauth2/v1/introspect", - "subject_types_supported": [ - "public" - ], - "response_modes_supported": [ - "query", - "fragment", - "form_post", - "okta_post_message" - ], - "response_types_supported": [ - "code", - "id_token", - "code id_token", - "code token", - "id_token token", - "code id_token token" - ], - "claims_parameter_supported": false, - "request_parameter_supported": true, - "device_authorization_endpoint": "https://domain.okta.com/oauth2/v1/device/authorize", - "request_uri_parameter_supported": false, - "code_challenge_methods_supported": [ - "S256" - ], - "require_request_uri_registration": false, - "dpop_signing_alg_values_supported": [ - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "id_token_signing_alg_values_supported": [ - "RS256" - ], - "token_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "revocation_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ], - "request_object_signing_alg_values_supported": [ - "HS256", - "HS384", - "HS512", - "RS256", - "RS384", - "RS512", - "ES256", - "ES384", - "ES512" - ], - "introspection_endpoint_auth_methods_supported": [ - "client_secret_basic", - "client_secret_post", - "client_secret_jwt", - "private_key_jwt", - "none" - ] - }, - "schema_version": "oidc-V4", - "token_endpoint": "https://domain.okta.com/oauth2/v1/token", - "userinfo_endpoint": "https://domain.okta.com/oauth2/v1/userinfo", - "connection_settings": { - "pkce": "auto" - }, - "authorization_endpoint": "https://domain.okta.com/oauth2/v1/authorize" - }, - "strategy": "okta", - "name": "test-scim-con", - "is_domain_connection": false, - "show_as_button": false, - "display_name": "test-scim-con", - "realms": [ - "test-scim-con" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "enabled_clients": [] + "custom_login_page_on": true }, { - "id": "con_0wl0dLTgEBQTMRrK", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "enabled_clients": [ - "sVMh2iWlCw44yRUt88rEO5cnDA6pvm48", - "AF2fEsiqxQ0uGNdrs8J26ibOnmXs3jEX" - ] + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -7732,6 +6114,9 @@ }, "status": 200, "response": { + "allowed_logout_urls": [ + "https://mycompany.org/logoutCallback" + ], "change_password": { "enabled": true, "html": "Change Password\n" @@ -7749,37 +6134,46 @@ "allow_legacy_delegation_grant_types": true, "allow_legacy_ro_grant_types": true, "cannot_change_enforce_client_authentication_on_passwordless_start": true, + "change_pwd_flow_v1": false, "disable_impersonation": true, - "enable_dynamic_client_registration": true, + "enable_apis_section": false, + "enable_client_connections": false, + "enable_custom_domain_in_emails": false, + "enable_dynamic_client_registration": false, + "enable_legacy_logs_search_v2": false, + "enable_public_signup_user_exists_error": true, "enable_sso": true, "enforce_client_authentication_on_passwordless_start": true, "new_universal_login_experience_enabled": true, "universal_login": true, + "use_scope_descriptions_for_consent": false, "revoke_refresh_token_grant": false, - "dashboard_new_onboarding": false, - "mfa_show_factor_list_on_enrollment": false, - "disable_clickjack_protection_headers": false + "disable_clickjack_protection_headers": false, + "enable_pipeline2": false }, + "friendly_name": "My Test Tenant", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" }, - "picture_url": "https://cdn.auth0.com/manhattan/versions/1.3935.0/assets/badge.png", - "sandbox_version": "18", - "oidc_logout": { - "rp_logout_end_session_endpoint_discovery": true - }, + "idle_session_lifetime": 1, + "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", + "sandbox_version": "12", + "session_lifetime": 3.0166666666666666, + "support_email": "support@mycompany.org", + "support_url": "https://mycompany.org/support", "universal_login": { "colors": { - "page_background": "#000000", - "primary": "#5ce4ff" + "primary": "#F8F8F2", + "page_background": "#222221" }, - "is_custom_theme_set": true, - "is_custom_template_set": true, "identifier_first": true + }, + "session_cookie": { + "mode": "non-persistent" } }, "rawHeaders": [], "responseIsBinary": false } -] +] \ No newline at end of file diff --git a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json index f794a245..e6d45bc3 100644 --- a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json @@ -1012,7 +1012,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1045,7 +1045,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -1075,8 +1075,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -1096,7 +1096,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -1126,8 +1126,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -1242,7 +1242,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -1257,7 +1257,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -1272,7 +1272,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -1287,18 +1287,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -1306,7 +1302,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -1321,7 +1317,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -1336,7 +1332,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -1351,7 +1347,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -1366,7 +1362,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -1381,14 +1377,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1825,7 +1825,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1835,7 +1835,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1845,7 +1845,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1855,7 +1855,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1875,7 +1875,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1885,7 +1885,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1895,7 +1895,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1915,7 +1915,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1925,7 +1925,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1955,7 +1955,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1965,7 +1965,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1975,7 +1975,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1995,7 +1995,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2005,7 +2005,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2075,7 +2075,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -2085,7 +2085,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -2115,7 +2115,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -2125,7 +2125,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -2163,6 +2163,24 @@ "status": 200, "response": { "triggers": [ + { + "id": "post-login", + "version": "v3", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, { "id": "post-login", "version": "v1", @@ -2186,24 +2204,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "post-login", - "version": "v3", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" - ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, { "id": "credentials-exchange", "version": "v2", @@ -2302,24 +2302,24 @@ }, { "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -2348,18 +2348,22 @@ "id": "custom-phone-provider", "version": "v1", "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], "default_runtime": "node18", "binding_policy": "trigger-bound", - "runtimes": [], "compatible_triggers": [] }, { "id": "custom-email-provider", "version": "v1", "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], "default_runtime": "node18", "binding_policy": "trigger-bound", - "runtimes": [], "compatible_triggers": [] }, { @@ -2522,84 +2526,218 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "organizations": [], + "total": 3, "start": 0, "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": "", - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": "", - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": "", - "status": 200, - "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": "", + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } } }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -3727,7 +3865,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3751,7 +3889,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "path": "/api/v2/clients/a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "body": { "name": "Default App", "callbacks": [], @@ -3808,7 +3946,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3881,7 +4019,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -3895,7 +4033,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -3909,7 +4047,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -3923,7 +4061,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -3937,7 +4075,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -3951,7 +4089,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -3965,7 +4103,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -4090,34 +4228,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -4148,6 +4258,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4246,7 +4384,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4314,7 +4452,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4344,8 +4482,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -4365,7 +4503,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4395,8 +4533,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -4407,11 +4545,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_nH4AIKkSAzWLnzAk", + "path": "/api/v2/connections/con_JMsZyNNbFr4PDt4B", "body": "", "status": 200, "response": { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4438,8 +4576,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ], "realms": [ "Username-Password-Authentication" @@ -4451,11 +4589,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_nH4AIKkSAzWLnzAk", + "path": "/api/v2/connections/con_JMsZyNNbFr4PDt4B", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE" + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ], "is_domain_connection": false, "options": { @@ -4486,7 +4624,7 @@ }, "status": 200, "response": { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4514,7 +4652,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE" + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ], "realms": [ "Username-Password-Authentication" @@ -4601,7 +4739,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4669,7 +4807,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4699,8 +4837,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -4720,7 +4858,7 @@ "limit": 100, "connections": [ { - "id": "con_nH4AIKkSAzWLnzAk", + "id": "con_JMsZyNNbFr4PDt4B", "options": { "mfa": { "active": true, @@ -4750,8 +4888,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" ] } ] @@ -4891,7 +5029,7 @@ "subject": "deprecated" } ], - "client_id": "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5194,38 +5332,172 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, - "connections": [ + "clients": [ { - "id": "con_nH4AIKkSAzWLnzAk", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_JMsZyNNbFr4PDt4B", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true @@ -5248,8 +5520,323 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HBD4IJq84zfg3WfK9BIYdyP5kDqTyoqE", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials" ] } ] diff --git a/test/e2e/recordings/should-dump-without-throwing-an-error.json b/test/e2e/recordings/should-dump-without-throwing-an-error.json index 0a4a6346..cd080f2c 100644 --- a/test/e2e/recordings/should-dump-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-without-throwing-an-error.json @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_p1HZgKK2F2T4cXoG", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -925,6 +934,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -941,7 +962,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 8, "start": 0, "limit": 100, "clients": [ @@ -990,21 +1011,86 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "API Explorer Application", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1012,7 +1098,8 @@ "subject": "deprecated" } ], - "client_id": "kReg2CptPN821kn7Iw9B80tfE4eP5YtD", + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1020,130 +1107,464 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_3TeCCeAZajlPXSuP", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "kReg2CptPN821kn7Iw9B80tfE4eP5YtD" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "con_3TeCCeAZajlPXSuP", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "kReg2CptPN821kn7Iw9B80tfE4eP5YtD" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/tenants/settings", - "body": "", - "status": 200, - "response": { - "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_F2SzQr9voPPsGlSe", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + }, + { + "id": "con_UMCD4ZRwgr4QaHtl", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/tenants/settings", + "body": "", + "status": 200, + "response": { + "allowed_logout_urls": [ + "https://mycompany.org/logoutCallback" ], "change_password": { "enabled": true, @@ -1242,7 +1663,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -1257,7 +1678,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -1272,7 +1693,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -1287,7 +1708,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -1302,7 +1723,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -1317,7 +1738,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/welcome_email", + "body": "", + "status": 200, + "response": { + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -1332,7 +1772,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -1347,7 +1787,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -1362,7 +1802,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -1377,36 +1817,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "client_grants": [ { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_6XmFgi000nVn0B1Z", + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -1522,11 +1943,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -1543,239 +1959,632 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors", - "body": "", - "status": 200, - "response": [ - { - "name": "sms", - "enabled": false, - "trial_expired": false - }, - { - "name": "push-notification", - "enabled": false, - "trial_expired": false - }, - { - "name": "otp", - "enabled": false, - "trial_expired": false - }, - { - "name": "email", - "enabled": false, - "trial_expired": false - }, - { - "name": "duo", - "enabled": false, - "trial_expired": false - }, - { - "name": "webauthn-roaming", - "enabled": false, - "trial_expired": false - }, - { - "name": "webauthn-platform", - "enabled": false, - "trial_expired": false - }, - { - "name": "recovery-code", - "enabled": false, - "trial_expired": false - } - ], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", - "body": "", - "status": 200, - "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/sms/templates", - "body": "", - "status": 200, - "response": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/policies", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": "", - "status": 200, - "response": { - "provider": "auth0" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": "", - "status": 200, - "response": { - "message_types": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "roles": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/branding", - "body": "", - "status": 200, - "response": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts", - "body": "", - "status": 200, - "response": { - "universal_login_experience": "new", - "identifier_first": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/tenants/settings", - "body": "", - "status": 200, - "response": { - "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" - ], - "change_password": { - "enabled": true, - "html": "Change Password\n" - }, - "enabled_locales": [ - "en" - ], - "error_page": { - "html": "Error Page\n", - "show_log_link": false, - "url": "https://mycompany.org/error" - }, - "flags": { - "allow_changing_enable_sso": false, - "allow_legacy_delegation_grant_types": true, + }, + { + "id": "cgr_TdblK2PQXLzaRGZ3", + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors", + "body": "", + "status": 200, + "response": [ + { + "name": "sms", + "enabled": false, + "trial_expired": false + }, + { + "name": "push-notification", + "enabled": true, + "trial_expired": false + }, + { + "name": "otp", + "enabled": false, + "trial_expired": false + }, + { + "name": "email", + "enabled": false, + "trial_expired": false + }, + { + "name": "duo", + "enabled": false, + "trial_expired": false + }, + { + "name": "webauthn-roaming", + "enabled": false, + "trial_expired": false + }, + { + "name": "webauthn-platform", + "enabled": false, + "trial_expired": false + }, + { + "name": "recovery-code", + "enabled": false, + "trial_expired": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/sms/providers/twilio", + "body": "", + "status": 200, + "response": { + "auth_token": "bar", + "sid": "foo", + "from": "from bar", + "messaging_service_sid": "foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/sms/templates", + "body": "", + "status": 200, + "response": { + "enrollment_message": "enroll foo", + "verification_message": "verify foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/policies", + "body": "", + "status": 200, + "response": [ + "all-applications" + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/phone/selected-provider", + "body": "", + "status": 200, + "response": { + "provider": "auth0" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/phone/message-types", + "body": "", + "status": 200, + "response": { + "message_types": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [ + { + "id": "rol_5aXYTodKygq1Yuaj", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_YWfS3O6ZI5WrsrYW", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_q30FzIeU1tOybF2I", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_GclzJFap0cQjnukV", + "name": "read_osnly", + "description": "Readz Only" + } + ], + "start": 0, + "limit": 100, + "total": 4 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/branding", + "body": "", + "status": 200, + "response": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + }, + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/custom-domains", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts", + "body": "", + "status": 200, + "response": { + "universal_login_experience": "new", + "identifier_first": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/tenants/settings", + "body": "", + "status": 200, + "response": { + "allowed_logout_urls": [ + "https://mycompany.org/logoutCallback" + ], + "change_password": { + "enabled": true, + "html": "Change Password\n" + }, + "enabled_locales": [ + "en" + ], + "error_page": { + "html": "Error Page\n", + "show_log_link": false, + "url": "https://mycompany.org/error" + }, + "flags": { + "allow_changing_enable_sso": false, + "allow_legacy_delegation_grant_types": true, "allow_legacy_ro_grant_types": true, "change_pwd_flow_v1": false, "disable_impersonation": true, @@ -1825,7 +2634,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1835,7 +2644,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1852,6 +2661,16 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -1865,7 +2684,127 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-password/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/reset-password/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/consent/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-push/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-email/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1875,7 +2814,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1885,7 +2824,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1895,7 +2834,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1905,7 +2844,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1915,7 +2854,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1925,7 +2864,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/common/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1935,7 +2874,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/invitation/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1945,7 +2884,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -1955,7 +2894,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -1965,7 +2904,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -1975,7 +2914,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -1985,7 +2924,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -1995,7 +2934,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -2005,7 +2944,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/signup-password/partials", "body": "", "status": 200, "response": {}, @@ -2015,142 +2954,461 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, - "response": {}, + "response": { + "actions": [ + { + "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-30T13:45:56.613287913Z", + "updated_at": "2024-10-30T13:46:58.563199950Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-30T13:46:59.332135805Z", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "deployed": true, + "number": 2, + "built_at": "2024-10-30T13:46:59.332135805Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-30T13:46:59.262838088Z", + "updated_at": "2024-10-30T13:46:59.333144112Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/actions/triggers", "body": "", "status": 200, - "response": {}, + "response": { + "triggers": [ + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v3", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + { + "id": "credentials-exchange", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "credentials-exchange", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-user-registration", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-change-password", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-change-password", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "send-phone-message", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "send-phone-message", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "password-reset-post-challenge", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "login-post-identifier", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-phone-provider", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "custom-email-provider", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node18-actions" + ], + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "custom-token-exchange-beta", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + } + ] + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/organizations/custom-text/en", + "path": "/api/v2/actions/triggers/post-login/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/invitation/custom-text/en", + "path": "/api/v2/actions/triggers/credentials-exchange/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/actions/triggers/pre-user-registration/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/common/custom-text/en", + "path": "/api/v2/actions/triggers/post-user-registration/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/actions/triggers/post-change-password/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/actions/triggers/send-phone-message/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", + "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", "body": "", "status": 200, - "response": {}, + "response": { + "bindings": [], + "per_page": 20 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "actions": [], - "per_page": 100 + "organizations": [ + { + "id": "org_W3jteblmyX4vVdpE", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_uMVVAPzVdtaJkuAE", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -2158,218 +3416,458 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "triggers": [ + "total": 9, + "start": 0, + "limit": 100, + "clients": [ { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node16", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "post-login", - "version": "v3", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" - ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [ + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "id": "post-login", - "version": "v2" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } - ] - }, - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "pre-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "pre-user-registration", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-change-password", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "callbacks": [ + "http://localhost:3000" ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-change-password", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" + "web_origins": [ + "http://localhost:3000" ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] + "custom_login_page_on": true }, { - "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "password-reset-post-challenge", - "version": "v1", - "status": "CURRENT", - "runtimes": [ - "node16", - "node18-actions" + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "login-post-identifier", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] - }, - { - "id": "custom-phone-provider", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] - }, - { - "id": "custom-email-provider", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] - }, - { - "id": "custom-token-exchange-beta", - "version": "v1", - "status": "CURRENT", - "default_runtime": "node18", - "binding_policy": "trigger-bound", - "runtimes": [], - "compatible_triggers": [] + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -2379,158 +3877,40 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/post-login/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/credentials-exchange/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/pre-user-registration/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/post-user-registration/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/post-change-password/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/send-phone-message/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/login-post-identifier/bindings", - "body": "", - "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", "body": "", "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/custom-email-provider/bindings", + "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", "body": "", "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", "body": "", "status": 200, - "response": { - "bindings": [], - "per_page": 20 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", "body": "", "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -2568,7 +3948,7 @@ ], "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "max_attempts": 66 }, "rawHeaders": [], "responseIsBinary": false @@ -2582,17 +3962,18 @@ "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "admin_notification" + ], + "allowlist": [ + "127.0.0.1" ], - "allowlist": [], "stage": { "pre-login": { - "max_attempts": 100, + "max_attempts": 66, "rate": 864000 }, "pre-user-registration": { - "max_attempts": 50, + "max_attempts": 66, "rate": 1200 } } @@ -2606,7 +3987,69 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [], + "response": [ + { + "id": "lst_0000000000018410", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018411", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], "rawHeaders": [], "responseIsBinary": false }, From 9b06bc299a411708ca1de11f39003b2f5e2900c9 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Tue, 5 Nov 2024 19:56:54 +0530 Subject: [PATCH 7/9] update auth0 to 4.11.0 --- package-lock.json | 60 +++++++++++++++++++---------------------------- package.json | 6 ++--- 2 files changed, 27 insertions(+), 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01fcf9c1..f5a727a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "ajv": "^6.12.6", - "auth0": "^4.10.0", + "auth0": "^4.11.0", "dot-prop": "^5.2.0", "fs-extra": "^10.1.0", "global-agent": "^2.1.12", @@ -20,7 +20,7 @@ "nconf": "^0.12.1", "promise-pool-executor": "^1.1.1", "sanitize-filename": "^1.6.3", - "winston": "^3.15.0", + "winston": "^3.16.0", "yargs": "^15.3.1" }, "bin": { @@ -40,7 +40,7 @@ "eslint-plugin-import": "^2.30.0", "husky": "^7.0.4", "kacl": "^1.1.1", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nock": "^13.5.5", "node-fetch": "^2.7.0", "nyc": "^15.0.1", @@ -1401,9 +1401,10 @@ "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" }, "node_modules/auth0": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.10.0.tgz", - "integrity": "sha512-xfNtSyL84w9z1DQXWV1GXgtq2Oi3OXeJe/r+pI29GKZHpfgspNb4rFqp/CqI8zKVir6L3Iq2KZgE2rDHRDtxfA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.11.0.tgz", + "integrity": "sha512-Jtn9TfdpNYL6W1cFIpfQ27rsF83en7WZ4gABx1ovSexJQspfPLBp/RwItEIa4g+OhMCkDQCSvwLSTdC9gCKwiw==", + "license": "MIT", "dependencies": { "jose": "^4.13.2", "undici-types": "^6.15.0", @@ -4177,10 +4178,11 @@ } }, "node_modules/mocha": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", - "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-colors": "^4.1.3", "browser-stdout": "^1.3.1", @@ -6470,9 +6472,10 @@ } }, "node_modules/winston": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.15.0.tgz", - "integrity": "sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow==", + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.16.0.tgz", + "integrity": "sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==", + "license": "MIT", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", @@ -6503,14 +6506,6 @@ "node": ">= 12.0.0" } }, - "node_modules/winston/node_modules/@colors/colors": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", - "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/word-wrap": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz", @@ -7770,9 +7765,9 @@ "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" }, "auth0": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.10.0.tgz", - "integrity": "sha512-xfNtSyL84w9z1DQXWV1GXgtq2Oi3OXeJe/r+pI29GKZHpfgspNb4rFqp/CqI8zKVir6L3Iq2KZgE2rDHRDtxfA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.11.0.tgz", + "integrity": "sha512-Jtn9TfdpNYL6W1cFIpfQ27rsF83en7WZ4gABx1ovSexJQspfPLBp/RwItEIa4g+OhMCkDQCSvwLSTdC9gCKwiw==", "requires": { "jose": "^4.13.2", "undici-types": "^6.15.0", @@ -9811,9 +9806,9 @@ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" }, "mocha": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", - "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", "dev": true, "requires": { "ansi-colors": "^4.1.3", @@ -11485,9 +11480,9 @@ } }, "winston": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.15.0.tgz", - "integrity": "sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow==", + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.16.0.tgz", + "integrity": "sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==", "requires": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", @@ -11500,13 +11495,6 @@ "stack-trace": "0.0.x", "triple-beam": "^1.3.0", "winston-transport": "^4.7.0" - }, - "dependencies": { - "@colors/colors": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", - "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==" - } } }, "winston-transport": { diff --git a/package.json b/package.json index 0a330ff0..929b9dae 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "homepage": "https://github.com/auth0/auth0-deploy-cli#readme", "dependencies": { "ajv": "^6.12.6", - "auth0": "^4.10.0", + "auth0": "^4.11.0", "dot-prop": "^5.2.0", "fs-extra": "^10.1.0", "global-agent": "^2.1.12", @@ -43,7 +43,7 @@ "nconf": "^0.12.1", "promise-pool-executor": "^1.1.1", "sanitize-filename": "^1.6.3", - "winston": "^3.15.0", + "winston": "^3.16.0", "yargs": "^15.3.1" }, "devDependencies": { @@ -60,7 +60,7 @@ "eslint-plugin-import": "^2.30.0", "husky": "^7.0.4", "kacl": "^1.1.1", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nock": "^13.5.5", "node-fetch": "^2.7.0", "nyc": "^15.0.1", From a6e5c2f12466c471ccf9af1d3157f13bf124231e Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:40:02 +0530 Subject: [PATCH 8/9] updated unit-test and e2e-test --- ...sources-if-AUTH0_ALLOW_DELETE-is-true.json | 1856 +-- ...ources-if-AUTH0_ALLOW_DELETE-is-false.json | 3910 ++---- ...ould-deploy-without-throwing-an-error.json | 1247 +- ...-and-deploy-without-throwing-an-error.json | 11301 +++++++++++++--- .../auth0/handlers/organizations.tests.js | 2 + 5 files changed, 12096 insertions(+), 6220 deletions(-) diff --git a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json index 4774c6b0..4ea6e8b3 100644 --- a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json +++ b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -35,7 +35,7 @@ "limit": 100, "rules": [ { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -50,7 +50,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/rules/rul_p1HZgKK2F2T4cXoG", + "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", @@ -59,7 +59,7 @@ }, "status": 200, "response": { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -953,6 +953,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -1117,6 +1121,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1154,7 +1201,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1209,7 +1256,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1258,7 +1305,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1299,7 +1346,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1352,7 +1399,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1370,59 +1417,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1465,7 +1459,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1490,18 +1484,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -1513,7 +1517,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1521,10 +1525,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1537,7 +1541,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "body": "", "status": 204, "response": "", @@ -1547,7 +1551,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "body": { "name": "API Explorer Application", "allowed_clients": [], @@ -1625,7 +1629,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1647,7 +1651,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "body": { "name": "Node App", "allowed_clients": [], @@ -1733,7 +1737,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1759,13 +1763,10 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "body": { - "name": "Quickstarts API (Test Application)", + "name": "Terraform Provider", "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ @@ -1795,10 +1796,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1820,7 +1818,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1841,10 +1839,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "body": { - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ @@ -1874,7 +1875,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1896,7 +1900,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1917,7 +1921,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "body": { "name": "The Default App", "allowed_clients": [], @@ -1999,7 +2003,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2023,7 +2027,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", "body": { "name": "Test SPA", "allowed_clients": [], @@ -2116,7 +2120,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2143,7 +2147,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -2221,7 +2225,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2280,7 +2284,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2294,7 +2298,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -2308,7 +2312,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2336,13 +2340,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2350,7 +2354,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -2364,7 +2368,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -2378,13 +2382,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -2447,34 +2451,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2521,6 +2497,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2554,14 +2558,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000018411", + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -2602,17 +2617,6 @@ } ], "isPriority": false - }, - { - "id": "lst_0000000000018410", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false } ], "rawHeaders": [], @@ -2621,33 +2625,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018410", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } - }, - "status": 200, - "response": { - "id": "lst_0000000000018410", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018411", + "path": "/api/v2/log-streams/lst_0000000000018492", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2692,14 +2670,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000018411", + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -2744,6 +2722,32 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018491", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + "status": 200, + "response": { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2833,7 +2837,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2888,7 +2892,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2937,7 +2941,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2978,7 +2982,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3031,7 +3035,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3053,9 +3057,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3069,13 +3078,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3086,7 +3095,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3095,10 +3104,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3106,14 +3120,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3127,13 +3136,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3144,7 +3153,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3153,15 +3162,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3217,7 +3221,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3273,12 +3277,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3328,7 +3332,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3384,12 +3388,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3430,11 +3434,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_0izbLRpsXgcRJlU7", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-05T06:09:49.438Z" + "deleted_at": "2024-11-06T09:58:21.694Z" }, "rawHeaders": [], "responseIsBinary": false @@ -3442,11 +3446,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", "body": "", "status": 200, "response": { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3499,8 +3503,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ], "realms": [ "boo-baz-db-connection-test" @@ -3512,11 +3516,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", "body": { "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "is_domain_connection": false, "options": { @@ -3573,7 +3577,7 @@ }, "status": 200, "response": { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3626,8 +3630,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "realms": [ "boo-baz-db-connection-test" @@ -3725,7 +3729,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3780,7 +3784,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3829,7 +3833,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3870,7 +3874,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3923,7 +3927,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3945,9 +3949,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3961,13 +3970,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3978,7 +3987,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3987,10 +3996,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3998,14 +4012,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4019,13 +4028,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4036,7 +4045,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4045,15 +4054,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4109,7 +4113,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -4165,12 +4169,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -4186,8 +4190,7 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -4207,7 +4210,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -4263,12 +4266,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -4284,8 +4287,7 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -4296,11 +4298,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", + "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", "body": { "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "is_domain_connection": false, "options": { @@ -4314,7 +4316,7 @@ }, "status": 200, "response": { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -4327,8 +4329,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ], "realms": [ "google-oauth2" @@ -4340,27 +4342,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -4368,25 +4368,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -4480,7 +4482,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4535,7 +4537,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4584,7 +4586,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4625,7 +4627,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4678,7 +4680,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4700,9 +4702,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4716,13 +4723,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4733,7 +4740,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4742,10 +4749,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4753,14 +4765,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4774,13 +4781,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4791,7 +4798,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4799,16 +4806,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4864,8 +4866,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5001,8 +5003,8 @@ ] }, { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5341,7 +5343,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_6XmFgi000nVn0B1Z", + "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", "body": { "scope": [ "read:client_grants", @@ -5478,8 +5480,8 @@ }, "status": 200, "response": { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5620,7 +5622,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_TdblK2PQXLzaRGZ3", + "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", "body": { "scope": [ "read:client_grants", @@ -5757,8 +5759,8 @@ }, "status": 200, "response": { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5905,22 +5907,22 @@ "response": { "roles": [ { - "id": "rol_5aXYTodKygq1Yuaj", + "id": "rol_XL2Vm5aw2TTxbBTK", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_YWfS3O6ZI5WrsrYW", + "id": "rol_VPswP8pd5HvHwSiO", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_q30FzIeU1tOybF2I", + "id": "rol_dhIF1pCAP1ld2Zot", "name": "read_only", "description": "Read Only" }, { - "id": "rol_GclzJFap0cQjnukV", + "id": "rol_sRU37NBK33W1J2mR", "name": "read_osnly", "description": "Readz Only" } @@ -5935,7 +5937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5950,7 +5952,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5965,7 +5967,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5980,7 +5982,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5995,16 +5997,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_YWfS3O6ZI5WrsrYW", - "name": "Reader", - "description": "Can only read things" + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false @@ -6012,16 +6014,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_5aXYTodKygq1Yuaj", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false @@ -6029,14 +6031,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_q30FzIeU1tOybF2I", + "id": "rol_dhIF1pCAP1ld2Zot", "name": "read_only", "description": "Read Only" }, @@ -6046,14 +6048,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_GclzJFap0cQjnukV", + "id": "rol_sRU37NBK33W1J2mR", "name": "read_osnly", "description": "Readz Only" }, @@ -6069,7 +6071,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -6077,34 +6079,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-11-05T06:08:35.317748690Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:57:46.739928192Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 3, - "build_time": "2024-11-05T06:08:36.266766154Z", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z" + "number": 8, + "build_time": "2024-11-06T09:57:47.865941930Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "deployed": true, - "number": 3, - "built_at": "2024-11-05T06:08:36.266766154Z", + "number": 8, + "built_at": "2024-11-06T09:57:47.865941930Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z", "runtime": "node16", "supported_triggers": [ { @@ -6125,7 +6127,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -6141,7 +6143,7 @@ }, "status": 200, "response": { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -6149,34 +6151,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-11-05T06:09:56.261758381Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:58:32.910416667Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "pending", "secrets": [], "current_version": { - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 3, - "build_time": "2024-11-05T06:08:36.266766154Z", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z" + "number": 8, + "build_time": "2024-11-06T09:57:47.865941930Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "deployed": true, - "number": 3, - "built_at": "2024-11-05T06:08:36.266766154Z", + "number": 8, + "built_at": "2024-11-06T09:57:47.865941930Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z", "runtime": "node16", "supported_triggers": [ { @@ -6199,7 +6201,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -6207,34 +6209,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-11-05T06:09:56.261758381Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:58:32.910416667Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 3, - "build_time": "2024-11-05T06:08:36.266766154Z", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z" + "number": 8, + "build_time": "2024-11-06T09:57:47.865941930Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "237aa606-a0ea-406f-ac4b-7564eaa8208f", + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", "deployed": true, - "number": 3, - "built_at": "2024-11-05T06:08:36.266766154Z", + "number": 8, + "built_at": "2024-11-06T09:57:47.865941930Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:08:36.193897754Z", - "updated_at": "2024-11-05T06:08:36.267717638Z", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.867288707Z", "runtime": "node16", "supported_triggers": [ { @@ -6255,19 +6257,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1/deploy", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "bec7224f-796f-4719-945a-42956b02be19", + "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", "deployed": false, - "number": 4, + "number": 9, "secrets": [], "status": "built", - "created_at": "2024-11-05T06:09:56.937518135Z", - "updated_at": "2024-11-05T06:09:56.937518135Z", + "created_at": "2024-11-06T09:58:34.036705087Z", + "updated_at": "2024-11-06T09:58:34.036705087Z", "runtime": "node16", "supported_triggers": [ { @@ -6276,7 +6278,7 @@ } ], "action": { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -6284,8 +6286,8 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-11-05T06:09:56.234154877Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:58:32.899315626Z", "all_changes_deployed": false } }, @@ -6301,7 +6303,7 @@ "response": { "organizations": [ { - "id": "org_W3jteblmyX4vVdpE", + "id": "org_6pcbE8NjmLYMaNPk", "name": "org1", "display_name": "Organization", "branding": { @@ -6312,7 +6314,7 @@ } }, { - "id": "org_uMVVAPzVdtaJkuAE", + "id": "org_PqrZQ4CbcMvRFBK2", "name": "org2", "display_name": "Organization2" } @@ -6413,7 +6415,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6468,7 +6470,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6517,7 +6519,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6558,7 +6560,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6611,7 +6613,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6633,9 +6635,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6649,13 +6656,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6666,7 +6673,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6675,10 +6682,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -6686,14 +6698,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6707,13 +6714,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6724,7 +6731,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6733,15 +6740,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -6788,7 +6790,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, "response": [], @@ -6798,7 +6800,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", "body": "", "status": 200, "response": [], @@ -6808,7 +6810,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", "body": "", "status": 200, "response": [], @@ -6818,7 +6820,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", "body": "", "status": 200, "response": [], @@ -6837,7 +6839,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -6893,12 +6895,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -6914,8 +6916,8 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] } ] @@ -6935,8 +6937,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7072,8 +7074,8 @@ ] }, { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7498,7 +7500,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7553,7 +7555,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7602,7 +7604,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7643,7 +7645,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7696,7 +7698,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7718,9 +7720,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7734,13 +7741,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7751,7 +7758,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7760,10 +7767,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7771,14 +7783,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7792,13 +7799,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7809,7 +7816,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7818,15 +7825,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7873,7 +7875,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", "body": { "branding": { "colors": { @@ -7891,7 +7893,7 @@ "primary": "#57ddff" } }, - "id": "org_W3jteblmyX4vVdpE", + "id": "org_6pcbE8NjmLYMaNPk", "display_name": "Organization", "name": "org1" }, @@ -7901,13 +7903,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_uMVVAPzVdtaJkuAE", + "id": "org_PqrZQ4CbcMvRFBK2", "display_name": "Organization2", "name": "org2" }, @@ -8028,7 +8030,7 @@ "limit": 100, "rules": [ { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8052,7 +8054,7 @@ "limit": 100, "rules": [ { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ONfKpNKvvGFHPEPA", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8067,7 +8069,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/rules/rul_p1HZgKK2F2T4cXoG", + "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", "body": "", "status": 204, "response": "", @@ -8777,6 +8779,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -8978,7 +8984,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9033,7 +9039,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9082,7 +9088,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9123,7 +9129,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9176,7 +9182,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9198,9 +9204,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9214,13 +9225,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9231,7 +9242,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9240,10 +9251,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -9251,14 +9267,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9272,13 +9283,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9289,7 +9300,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9298,15 +9309,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true } @@ -9318,7 +9324,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "body": "", "status": 204, "response": "", @@ -9328,7 +9334,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "body": "", "status": 204, "response": "", @@ -9338,7 +9344,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "body": "", "status": 204, "response": "", @@ -9348,7 +9354,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "body": "", "status": 204, "response": "", @@ -9358,7 +9364,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "body": "", "status": 204, "response": "", @@ -9368,7 +9374,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", "body": "", "status": 204, "response": "", @@ -9378,7 +9384,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "body": "", "status": 204, "response": "", @@ -9449,7 +9455,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9505,7 +9511,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -9519,7 +9525,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -9533,7 +9539,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -9547,7 +9553,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -9575,7 +9581,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -9603,7 +9609,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -9683,14 +9689,39 @@ }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -9739,31 +9770,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -9772,7 +9778,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000018410", + "id": "lst_0000000000018491", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -9783,14 +9789,14 @@ "isPriority": false }, { - "id": "lst_0000000000018411", + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -9839,7 +9845,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018410", + "path": "/api/v2/log-streams/lst_0000000000018491", "body": "", "status": 204, "response": "", @@ -9849,7 +9855,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018411", + "path": "/api/v2/log-streams/lst_0000000000018492", "body": "", "status": 204, "response": "", @@ -9935,7 +9941,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10003,7 +10009,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -10077,7 +10083,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -10142,11 +10148,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_F2SzQr9voPPsGlSe", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-05T06:10:15.721Z" + "deleted_at": "2024-11-06T09:58:58.884Z" }, "rawHeaders": [], "responseIsBinary": false @@ -10160,7 +10166,7 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "is_domain_connection": false, "options": { @@ -10178,7 +10184,7 @@ }, "status": 201, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10205,8 +10211,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "Username-Password-Authentication" @@ -10294,7 +10300,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10362,7 +10368,7 @@ "limit": 100, "connections": [ { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -10380,7 +10386,7 @@ "enabled_clients": [] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10410,8 +10416,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -10431,7 +10437,7 @@ "limit": 100, "connections": [ { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -10449,7 +10455,7 @@ "enabled_clients": [] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10479,8 +10485,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -10491,11 +10497,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", + "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-05T06:10:17.452Z" + "deleted_at": "2024-11-06T09:59:01.429Z" }, "rawHeaders": [], "responseIsBinary": false @@ -10579,7 +10585,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10856,22 +10862,22 @@ "response": { "roles": [ { - "id": "rol_5aXYTodKygq1Yuaj", + "id": "rol_XL2Vm5aw2TTxbBTK", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_YWfS3O6ZI5WrsrYW", + "id": "rol_VPswP8pd5HvHwSiO", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_q30FzIeU1tOybF2I", + "id": "rol_dhIF1pCAP1ld2Zot", "name": "read_only", "description": "Read Only" }, { - "id": "rol_GclzJFap0cQjnukV", + "id": "rol_sRU37NBK33W1J2mR", "name": "read_osnly", "description": "Readz Only" } @@ -10886,7 +10892,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10901,7 +10907,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10916,7 +10922,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10931,7 +10937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10946,7 +10952,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", "body": "", "status": 200, "response": {}, @@ -10956,7 +10962,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", "body": "", "status": 200, "response": {}, @@ -10966,7 +10972,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", "body": "", "status": 200, "response": {}, @@ -10976,7 +10982,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", "body": "", "status": 200, "response": {}, @@ -10992,7 +10998,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -11000,34 +11006,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-11-05T06:09:56.261758381Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:58:32.910416667Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "bec7224f-796f-4719-945a-42956b02be19", + "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 4, - "build_time": "2024-11-05T06:09:57.007260379Z", - "created_at": "2024-11-05T06:09:56.937518135Z", - "updated_at": "2024-11-05T06:09:57.008290610Z" + "number": 9, + "build_time": "2024-11-06T09:58:34.125543018Z", + "created_at": "2024-11-06T09:58:34.036705087Z", + "updated_at": "2024-11-06T09:58:34.127463983Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "bec7224f-796f-4719-945a-42956b02be19", + "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", "deployed": true, - "number": 4, - "built_at": "2024-11-05T06:09:57.007260379Z", + "number": 9, + "built_at": "2024-11-06T09:58:34.125543018Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:09:56.937518135Z", - "updated_at": "2024-11-05T06:09:57.008290610Z", + "created_at": "2024-11-06T09:58:34.036705087Z", + "updated_at": "2024-11-06T09:58:34.127463983Z", "runtime": "node16", "supported_triggers": [ { @@ -11048,7 +11054,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/actions/actions/116f5b97-ca80-4cf2-add1-af8d18249da1?force=true", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23?force=true", "body": "", "status": 204, "response": "", @@ -11077,7 +11083,7 @@ "response": { "organizations": [ { - "id": "org_W3jteblmyX4vVdpE", + "id": "org_6pcbE8NjmLYMaNPk", "name": "org1", "display_name": "Organization", "branding": { @@ -11088,7 +11094,7 @@ } }, { - "id": "org_uMVVAPzVdtaJkuAE", + "id": "org_PqrZQ4CbcMvRFBK2", "name": "org2", "display_name": "Organization2" } @@ -11179,7 +11185,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11238,7 +11244,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, "response": [], @@ -11248,7 +11254,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", "body": "", "status": 200, "response": [], @@ -11258,7 +11264,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", "body": "", "status": 200, "response": [], @@ -11268,7 +11274,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", "body": "", "status": 200, "response": [], @@ -11287,7 +11293,7 @@ "limit": 100, "connections": [ { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -11317,8 +11323,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -11326,141 +11332,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -11673,10 +11544,145 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", "body": "", "status": 204, "response": "", @@ -11686,7 +11692,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", "body": "", "status": 204, "response": "", @@ -12605,6 +12611,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -12796,7 +12806,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12829,7 +12839,7 @@ "limit": 100, "connections": [ { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -12859,8 +12869,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -12880,7 +12890,7 @@ "limit": 100, "connections": [ { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -12910,8 +12920,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -13026,7 +13036,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -13060,7 +13070,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -13075,7 +13085,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -13090,7 +13100,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -13105,7 +13115,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -13120,7 +13130,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -13135,7 +13145,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -13150,7 +13160,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -13165,7 +13175,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -13443,7 +13453,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, "response": {}, @@ -13453,7 +13463,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", "body": "", "status": 200, "response": {}, @@ -13635,7 +13645,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13645,7 +13655,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13685,7 +13695,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13695,7 +13705,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13715,7 +13725,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13725,7 +13735,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13735,7 +13745,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13745,7 +13755,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13755,7 +13765,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13765,7 +13775,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13785,7 +13795,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13795,7 +13805,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13805,7 +13815,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13825,7 +13835,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13835,7 +13845,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13895,7 +13905,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -13905,7 +13915,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -13973,17 +13983,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v3", @@ -14004,26 +14003,24 @@ }, { "id": "post-login", - "version": "v2", + "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12", - "node16" + "node12" ], - "default_runtime": "node16", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "credentials-exchange", + "id": "post-login", "version": "v2", - "status": "CURRENT", + "status": "DEPRECATED", "runtimes": [ "node12", - "node16", - "node18-actions" + "node16" ], - "default_runtime": "node18-actions", + "default_runtime": "node16", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -14038,6 +14035,19 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "credentials-exchange", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "pre-user-registration", "version": "v2", @@ -14088,25 +14098,25 @@ }, { "id": "post-change-password", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "post-change-password", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -14333,21 +14343,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -14427,7 +14422,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14483,6 +14478,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -14506,18 +14516,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -14525,26 +14543,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false diff --git a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json index 98e64e06..52f50137 100644 --- a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json +++ b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json @@ -6,19 +6,10 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 0, "start": 0, "limit": 100, - "rules": [ - { - "id": "rul_ONfKpNKvvGFHPEPA", - "enabled": true, - "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", - "name": "my-rule", - "order": 2, - "stage": "login_success" - } - ] + "rules": [] }, "rawHeaders": [], "responseIsBinary": false @@ -30,36 +21,28 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 0, "start": 0, "limit": 100, - "rules": [ - { - "id": "rul_ONfKpNKvvGFHPEPA", - "enabled": true, - "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", - "name": "my-rule", - "order": 2, - "stage": "login_success" - } - ] + "rules": [] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", + "method": "POST", + "path": "/api/v2/rules", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "stage": "login_success", "enabled": true, "order": 2 }, - "status": 200, + "status": 201, "response": { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -953,6 +936,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -1072,7 +1059,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 2, "start": 0, "limit": 100, "clients": [ @@ -1144,7 +1131,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1159,402 +1146,142 @@ "client_credentials" ], "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/clients", + "body": { + "name": "API Explorer Application", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "native_social_login": { + "apple": { + "enabled": false }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 201, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "encrypted": true, + "signing_keys": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "cert": "[REDACTED]", + "key": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } - ] + ], + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "method": "POST", + "path": "/api/v2/clients", "body": { - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], - "app_type": "non_interactive", + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "native_social_login": { "apple": { @@ -1575,15 +1302,17 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1608,14 +1337,17 @@ }, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "allowed_origins": [], + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1625,10 +1357,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -1636,8 +1372,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "method": "POST", + "path": "/api/v2/clients", "body": { "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", @@ -1653,7 +1389,8 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "oidc_conformant": true, "refresh_token": { @@ -1668,7 +1405,7 @@ "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1691,14 +1428,16 @@ }, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1718,38 +1457,22 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "method": "POST", + "path": "/api/v2/clients", "body": { - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, + "name": "Terraform Provider", + "app_type": "non_interactive", "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "oidc_conformant": true, "refresh_token": { @@ -1762,29 +1485,16 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] + "token_endpoint_auth_method": "client_secret_post" }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1797,15 +1507,16 @@ }, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1813,16 +1524,11 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -1830,63 +1536,93 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "method": "POST", + "path": "/api/v2/clients", "body": { - "name": "Terraform Provider", - "app_type": "non_interactive", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1894,9 +1630,12 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1906,27 +1645,26 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "method": "POST", + "path": "/api/v2/clients", "body": { - "name": "The Default App", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], + "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "native_social_login": { "apple": { @@ -1936,26 +1674,25 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1969,27 +1706,28 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1999,10 +1737,8 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2012,8 +1748,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "method": "POST", + "path": "/api/v2/clients", "body": { "name": "Test SPA", "allowed_clients": [], @@ -2037,7 +1773,8 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000 + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "native_social_login": { "apple": { @@ -2063,7 +1800,7 @@ "http://localhost:3000" ] }, - "status": 200, + "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -2099,14 +1836,16 @@ }, "sso_disabled": false, "cross_origin_authentication": false, + "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", + "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2130,106 +1869,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "body": { - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 200, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2270,7 +1909,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -2284,7 +1923,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2298,7 +1937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2326,7 +1965,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -2340,7 +1979,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -2368,7 +2007,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -2440,27 +2079,24 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -2514,24 +2150,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 }, "rawHeaders": [], "responseIsBinary": false @@ -2542,76 +2181,41 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [ - { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/log-streams", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" }, - { - "id": "lst_0000000000018492", - "name": "Amazon EventBridge", - "type": "eventbridge", - "status": "active", - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" - }, - "filters": [ - { - "type": "category", - "name": "auth.login.success" - }, - { - "type": "category", - "name": "auth.login.notification" - }, - { - "type": "category", - "name": "auth.login.fail" - }, - { - "type": "category", - "name": "auth.signup.success" - }, - { - "type": "category", - "name": "auth.logout.success" - }, - { - "type": "category", - "name": "auth.logout.fail" - }, - { - "type": "category", - "name": "auth.silent_auth.fail" - }, - { - "type": "category", - "name": "auth.silent_auth.success" - }, - { - "type": "category", - "name": "auth.token_exchange.fail" - } - ], - "isPriority": false - } - ], + "type": "datadog" + }, + "status": 200, + "response": { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018492", + "method": "POST", + "path": "/api/v2/log-streams", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2652,18 +2256,22 @@ "name": "auth.token_exchange.fail" } ], - "status": "active" + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2" + }, + "type": "eventbridge" }, "status": 200, "response": { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -2708,32 +2316,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018491", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } - }, - "status": 200, - "response": { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2813,7 +2395,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2866,7 +2448,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2921,7 +2503,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2945,10 +2527,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2970,7 +2549,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2989,7 +2568,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3011,7 +2593,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3064,7 +2646,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3086,14 +2668,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3107,13 +2684,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3124,7 +2701,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3133,15 +2710,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3149,9 +2721,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3165,13 +2742,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3182,7 +2759,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3191,13 +2768,18 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" ], - "custom_login_page_on": true - }, + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": true, @@ -3245,73 +2827,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 1, "start": 0, "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" - ] - }, - { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3342,7 +2863,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -3357,73 +2878,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 1, "start": 0, "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" - ] - }, - { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3454,7 +2914,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -3464,82 +2924,14 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", - "body": "", - "status": 200, - "response": { - "id": "con_xwVqJPyxAvsMfHL1", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" - ], - "realms": [ - "boo-baz-db-connection-test" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "method": "POST", + "path": "/api/v2/connections", "body": { + "name": "boo-baz-db-connection-test", + "strategy": "auth0", "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "is_domain_connection": false, "options": { @@ -3558,11 +2950,6 @@ }, "disable_signup": false, "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, "password_history": { "size": 5, "enable": false @@ -3573,14 +2960,6 @@ "enable": true, "dictionary": [] }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3594,30 +2973,25 @@ "boo-baz-db-connection-test" ] }, - "status": 200, + "status": 201, "response": { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, "return_enroll_settings": true }, + "passwordPolicy": "low", "import_mode": false, "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" }, "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, "password_history": { "size": 5, "enable": false @@ -3628,14 +3002,6 @@ "enable": true, "dictionary": [] }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3643,14 +3009,27 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true + "enabledDatabaseCustomization": true, + "authentication_methods": { + "password": { + "enabled": true + }, + "passkey": { + "enabled": false + } + }, + "passkey_options": { + "challenge_ui": "both", + "progressive_enrollment_enabled": true, + "local_enrollment_enabled": true + } }, "strategy": "auth0", "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "boo-baz-db-connection-test" @@ -3738,7 +3117,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3791,7 +3170,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3846,7 +3225,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3870,10 +3249,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3895,7 +3271,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3914,7 +3290,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3936,7 +3315,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3989,7 +3368,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4011,14 +3390,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4032,13 +3406,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4049,7 +3423,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4058,15 +3432,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4074,9 +3443,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4090,13 +3464,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4107,7 +3481,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4116,10 +3490,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4170,12 +3549,12 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -4231,33 +3610,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" - ] - }, - { - "id": "con_eaD9x7dXNhWAvMQD", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -4288,7 +3646,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -4303,12 +3661,12 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -4364,33 +3722,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" - ] - }, - { - "id": "con_eaD9x7dXNhWAvMQD", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -4421,7 +3758,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -4431,12 +3768,14 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "method": "POST", + "path": "/api/v2/connections", "body": { + "name": "google-oauth2", + "strategy": "google-oauth2", "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "is_domain_connection": false, "options": { @@ -4448,9 +3787,9 @@ "profile": true } }, - "status": 200, + "status": 201, "response": { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -4463,8 +3802,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "google-oauth2" @@ -4476,27 +3815,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -4504,25 +3841,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -4606,7 +3945,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4659,7 +3998,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4714,7 +4053,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4738,10 +4077,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4763,7 +4099,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4782,7 +4118,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4804,7 +4143,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4857,7 +4196,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4879,14 +4218,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4900,13 +4234,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4917,7 +4251,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4926,15 +4260,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4942,9 +4271,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4958,13 +4292,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4975,7 +4309,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4984,10 +4318,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5015,307 +4354,33 @@ ], "custom_login_page": "TEST123\n", "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "client_grants": [ - { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] - }, - { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] - }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 1, + "start": 0, + "limit": 100, + "client_grants": [ { "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -5519,9 +4584,11 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", + "method": "POST", + "path": "/api/v2/client-grants", "body": { + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -5655,10 +4722,10 @@ "delete:organization_invitations" ] }, - "status": 200, + "status": 201, "response": { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5798,9 +4865,11 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", + "method": "POST", + "path": "/api/v2/client-grants", "body": { + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -5934,10 +5003,10 @@ "delete:organization_invitations" ] }, - "status": 200, + "status": 201, "response": { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -6082,58 +5151,7 @@ "body": "", "status": 200, "response": { - "roles": [ - { - "id": "rol_XL2Vm5aw2TTxbBTK", - "name": "Admin", - "description": "Can read and write things" - }, - { - "id": "rol_VPswP8pd5HvHwSiO", - "name": "Reader", - "description": "Can only read things" - }, - { - "id": "rol_dhIF1pCAP1ld2Zot", - "name": "read_only", - "description": "Read Only" - }, - { - "id": "rol_sRU37NBK33W1J2mR", - "name": "read_osnly", - "description": "Readz Only" - } - ], - "start": 0, - "limit": 100, - "total": 4 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], + "roles": [], "start": 0, "limit": 100, "total": 0 @@ -6143,45 +5161,32 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 + "method": "POST", + "path": "/api/v2/roles", + "body": { + "name": "Reader", + "description": "Can only read things" }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", - "body": "", "status": 200, "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 + "id": "rol_zKNIBuPjhxjGVlNh", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "method": "POST", + "path": "/api/v2/roles", "body": { "name": "Admin", "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, @@ -6190,32 +5195,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", - "body": { - "name": "Reader", - "description": "Can only read things" - }, - "status": 200, - "response": { - "id": "rol_VPswP8pd5HvHwSiO", - "name": "Reader", - "description": "Can only read things" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "method": "POST", + "path": "/api/v2/roles", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, @@ -6224,15 +5212,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "method": "POST", + "path": "/api/v2/roles", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" }, @@ -6246,56 +5234,7 @@ "body": "", "status": 200, "response": { - "actions": [ - { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:24:43.006522872Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node16", - "status": "built", - "secrets": [], - "current_version": { - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 6, - "build_time": "2024-11-05T06:24:43.782668427Z", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "deployed": true, - "number": 6, - "built_at": "2024-11-05T06:24:43.782668427Z", - "secrets": [], - "status": "built", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, + "actions": [], "per_page": 100 }, "rawHeaders": [], @@ -6303,8 +5242,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", + "method": "POST", + "path": "/api/v2/actions/actions", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -6318,9 +5257,9 @@ } ] }, - "status": 200, + "status": 201, "response": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6328,43 +5267,14 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "pending", "secrets": [], - "current_version": { - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 6, - "build_time": "2024-11-05T06:24:43.782668427Z", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "deployed": true, - "number": 6, - "built_at": "2024-11-05T06:24:43.782668427Z", - "secrets": [], - "status": "built", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true + "all_changes_deployed": false }, "rawHeaders": [], "responseIsBinary": false @@ -6378,7 +5288,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6386,43 +5296,14 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], - "current_version": { - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node16", - "status": "BUILT", - "number": 6, - "build_time": "2024-11-05T06:24:43.782668427Z", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "50101ea9-836e-43f9-8c88-9e42679c8aa3", - "deployed": true, - "number": 6, - "built_at": "2024-11-05T06:24:43.782668427Z", - "secrets": [], - "status": "built", - "created_at": "2024-11-05T06:24:43.666957862Z", - "updated_at": "2024-11-05T06:24:43.784244421Z", - "runtime": "node16", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true + "all_changes_deployed": false } ], "total": 1, @@ -6434,19 +5315,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": false, - "number": 7, + "number": 1, "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.595889802Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.291844970Z", "runtime": "node16", "supported_triggers": [ { @@ -6455,7 +5336,7 @@ } ], "action": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6463,8 +5344,8 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.396717822Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.236448055Z", "all_changes_deployed": false } }, @@ -6478,27 +5359,10 @@ "body": "", "status": 200, "response": { - "organizations": [ - { - "id": "org_6pcbE8NjmLYMaNPk", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_PqrZQ4CbcMvRFBK2", - "name": "org2", - "display_name": "Organization2" - } - ], + "organizations": [], "start": 0, "limit": 100, - "total": 2 + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -6582,7 +5446,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6635,7 +5499,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6690,7 +5554,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6714,10 +5578,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6739,7 +5600,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6758,7 +5619,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6780,7 +5644,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6833,7 +5697,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6855,14 +5719,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6876,13 +5735,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6893,7 +5752,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6902,15 +5761,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -6918,9 +5772,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6934,13 +5793,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6951,7 +5810,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6960,10 +5819,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7007,46 +5871,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -7059,7 +5883,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -7115,12 +5939,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -7136,12 +5960,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -7172,7 +5996,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -7192,8 +6016,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7329,8 +6153,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7745,7 +6569,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7798,7 +6622,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7853,7 +6677,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7877,10 +6701,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7902,7 +6723,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7921,7 +6742,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7943,7 +6767,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7996,7 +6820,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8018,14 +6842,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8039,13 +6858,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8056,7 +6875,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8065,15 +6884,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -8081,9 +6895,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8097,13 +6916,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8114,7 +6933,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8123,10 +6942,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -8172,14 +6996,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", + "method": "POST", + "path": "/api/v2/organizations", "body": { + "name": "org2", "display_name": "Organization2" }, - "status": 200, + "status": 201, "response": { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "display_name": "Organization2", "name": "org2" }, @@ -8188,9 +7013,10 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", + "method": "POST", + "path": "/api/v2/organizations", "body": { + "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", @@ -8199,7 +7025,7 @@ }, "display_name": "Organization" }, - "status": 200, + "status": 201, "response": { "branding": { "colors": { @@ -8207,7 +7033,7 @@ "primary": "#57ddff" } }, - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "display_name": "Organization", "name": "org1" }, @@ -8328,7 +7154,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8352,7 +7178,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -9067,6 +7893,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -9258,7 +8088,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9311,7 +8141,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9366,7 +8196,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9390,10 +8220,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9415,7 +8242,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9434,7 +8261,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9456,7 +8286,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9509,7 +8339,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9531,14 +8361,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9552,13 +8377,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9569,7 +8394,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9578,15 +8403,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9594,9 +8414,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9610,13 +8435,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9627,7 +8452,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9636,10 +8461,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -9651,7 +8481,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "path": "/api/v2/clients/gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "body": { "name": "Default App", "callbacks": [], @@ -9709,7 +8539,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9760,7 +8590,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -9774,7 +8604,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -9802,7 +8632,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -9816,7 +8646,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -9830,7 +8660,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -9844,7 +8674,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -9911,27 +8741,24 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -9983,24 +8810,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -10013,7 +8843,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", + "id": "lst_0000000000018504", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -10024,14 +8854,14 @@ "isPriority": false }, { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -10156,7 +8986,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10209,7 +9039,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10264,7 +9094,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10288,10 +9118,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -10313,7 +9140,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10332,7 +9159,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -10354,7 +9184,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10407,7 +9237,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10429,14 +9259,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10450,13 +9275,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10467,7 +9292,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10476,15 +9301,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -10492,9 +9312,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10508,13 +9333,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10525,7 +9350,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10534,10 +9359,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -10593,7 +9423,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -10649,12 +9479,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10685,7 +9515,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -10705,7 +9535,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -10761,12 +9591,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10797,7 +9627,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -10808,11 +9638,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": "", "status": 200, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10840,7 +9670,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "Username-Password-Authentication" @@ -10852,11 +9682,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "is_domain_connection": false, "options": { @@ -10887,7 +9717,7 @@ }, "status": 200, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -10915,7 +9745,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "Username-Password-Authentication" @@ -11003,7 +9833,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11056,7 +9886,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11111,7 +9941,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11135,10 +9965,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11160,7 +9987,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11179,7 +10006,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11201,7 +10031,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11254,7 +10084,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11276,14 +10106,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -11297,13 +10122,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -11314,7 +10139,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11323,15 +10148,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -11339,9 +10159,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -11355,13 +10180,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -11372,7 +10197,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11381,10 +10206,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -11440,7 +10270,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -11496,12 +10326,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -11517,12 +10347,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -11553,7 +10383,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -11573,7 +10403,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -11629,12 +10459,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -11650,12 +10480,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -11686,7 +10516,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -11773,7 +10603,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11826,7 +10656,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11881,7 +10711,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11905,10 +10735,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11930,7 +10757,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11949,7 +10776,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11971,7 +10801,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12024,7 +10854,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12046,14 +10876,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12067,13 +10892,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12084,7 +10909,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12093,15 +10918,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -12109,9 +10929,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12125,13 +10950,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12142,7 +10967,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12151,10 +10976,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -12210,8 +11040,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12347,8 +11177,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12693,22 +11523,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -12723,7 +11553,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12738,7 +11568,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12753,7 +11583,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12768,7 +11598,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12789,7 +11619,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -12797,34 +11627,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -12851,7 +11681,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -12859,34 +11689,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -12913,7 +11743,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -12924,7 +11754,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -13015,7 +11845,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13068,7 +11898,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13123,7 +11953,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13147,10 +11977,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -13172,7 +11999,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13191,7 +12018,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -13213,7 +12043,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13266,7 +12096,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13288,14 +12118,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -13309,13 +12134,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -13326,7 +12151,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13335,15 +12160,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -13351,9 +12171,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -13367,13 +12192,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -13384,7 +12209,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13393,10 +12218,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -13443,7 +12273,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -13453,7 +12283,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants", "body": "", "status": 200, "response": [], @@ -13463,7 +12293,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -13473,7 +12303,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants", "body": "", "status": 200, "response": [], @@ -13492,7 +12322,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -13548,12 +12378,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -13569,12 +12399,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -13605,7 +12435,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -13692,7 +12522,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13745,7 +12575,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13800,7 +12630,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13824,10 +12654,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -13849,7 +12676,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13868,7 +12695,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -13890,7 +12720,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13943,7 +12773,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13965,14 +12795,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -13986,13 +12811,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -14003,7 +12828,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14012,15 +12837,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -14028,9 +12848,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -14044,13 +12869,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -14061,7 +12886,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14070,10 +12895,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -14129,8 +12959,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -14266,8 +13096,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -14692,7 +13522,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -15524,6 +14354,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -15715,7 +14549,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15768,7 +14602,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15823,7 +14657,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15847,10 +14681,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -15872,7 +14703,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15891,7 +14722,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -15913,7 +14747,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15966,7 +14800,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15988,14 +14822,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -16009,13 +14838,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -16026,7 +14855,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16035,15 +14864,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -16051,9 +14875,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -16067,13 +14896,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -16084,7 +14913,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16093,10 +14922,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -16117,7 +14951,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -16173,12 +15007,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -16209,7 +15043,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -16229,7 +15063,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -16285,12 +15119,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -16306,12 +15140,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -16342,7 +15176,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -16457,7 +15291,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -16472,7 +15306,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -16487,14 +15321,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -16517,7 +15355,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -16532,7 +15370,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -16547,7 +15385,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -16562,7 +15400,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -16592,18 +15430,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/change_password", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -16620,8 +15454,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -16757,8 +15591,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -17221,22 +16055,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -17251,7 +16085,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -17266,7 +16100,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -17281,7 +16115,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -17296,7 +16130,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -17431,7 +16265,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17441,7 +16275,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17451,7 +16285,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17461,7 +16295,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17471,7 +16305,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17481,7 +16315,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17571,7 +16405,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17581,7 +16415,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17591,7 +16425,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17601,7 +16435,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17611,7 +16445,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17621,7 +16455,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -17671,7 +16505,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -17681,7 +16515,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -17691,7 +16525,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -17711,7 +16545,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -17747,7 +16581,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -17755,34 +16589,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -17808,29 +16642,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" - ], - "default_runtime": "node16", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v3", @@ -17850,15 +16661,25 @@ ] }, { - "id": "credentials-exchange", + "id": "post-login", "version": "v2", - "status": "CURRENT", + "status": "DEPRECATED", "runtimes": [ "node12", - "node16", - "node18-actions" + "node16" ], - "default_runtime": "node18-actions", + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -17874,7 +16695,7 @@ "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "credentials-exchange", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -17898,31 +16719,31 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", + "id": "pre-user-registration", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "post-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -17946,12 +16767,15 @@ "compatible_triggers": [] }, { - "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", + "id": "post-change-password", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -17968,6 +16792,16 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "send-phone-message", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "password-reset-post-challenge", "version": "v1", @@ -18177,7 +17011,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -18188,7 +17022,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -18279,7 +17113,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18332,7 +17166,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18387,7 +17221,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18411,10 +17245,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -18436,7 +17267,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18455,7 +17286,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -18477,7 +17311,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18530,7 +17364,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18552,14 +17386,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -18573,13 +17402,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -18590,7 +17419,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18599,15 +17428,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -18615,9 +17439,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -18631,13 +17460,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -18648,7 +17477,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -18657,10 +17486,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -18707,7 +17541,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -18717,7 +17551,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants", "body": "", "status": 200, "response": [], @@ -18727,7 +17561,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -18737,7 +17571,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants", "body": "", "status": 200, "response": [], @@ -18767,18 +17601,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -18786,26 +17628,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -18818,7 +17652,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", + "id": "lst_0000000000018504", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -18829,14 +17663,14 @@ "isPriority": false }, { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { diff --git a/test/e2e/recordings/should-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-deploy-without-throwing-an-error.json index 21c5ec17..614f9da7 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -672,6 +672,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -791,7 +795,7 @@ "body": "", "status": 200, "response": { - "total": 8, + "total": 9, "start": 0, "limit": 100, "clients": [ @@ -836,6 +840,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -873,7 +920,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -928,7 +975,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -977,7 +1024,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1018,7 +1065,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1071,7 +1118,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1093,9 +1140,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1109,13 +1161,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1126,7 +1178,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1135,10 +1187,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -1146,14 +1203,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1167,13 +1219,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1184,7 +1236,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1193,15 +1245,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true } @@ -1212,8 +1259,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "body": { "name": "Default App", "callbacks": [], @@ -1229,8 +1276,7 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "oidc_conformant": true, "refresh_token": { @@ -1244,7 +1290,7 @@ }, "sso_disabled": false }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1265,16 +1311,14 @@ }, "sso_disabled": false, "cross_origin_authentication": false, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1325,7 +1369,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1339,7 +1383,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -1367,7 +1411,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1381,7 +1425,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -1395,7 +1439,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -1409,7 +1453,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -1476,22 +1520,41 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, "pre-user-registration": { - "shields": [] + "max_attempts": 50, + "rate": 1200 } } }, @@ -1529,41 +1592,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "status": 200, "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + "shields": [] } } }, @@ -1578,7 +1622,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000018410", + "id": "lst_0000000000018491", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -1589,14 +1633,14 @@ "isPriority": false }, { - "id": "lst_0000000000018411", + "id": "lst_0000000000018492", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" }, "filters": [ { @@ -1704,6 +1748,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1741,7 +1828,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1796,7 +1883,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1845,7 +1932,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1886,7 +1973,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1939,7 +2026,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1961,9 +2048,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1977,65 +2069,7 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "expiring", "leeway": 0, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, @@ -2052,7 +2086,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2077,18 +2111,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -2100,7 +2144,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2108,10 +2152,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2163,12 +2207,12 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -2224,8 +2268,43 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -2240,12 +2319,12 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -2301,8 +2380,43 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -2312,14 +2426,56 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", - "body": { - "name": "Username-Password-Authentication", + "method": "GET", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": "", + "status": 200, + "response": { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], "is_domain_connection": false, "options": { @@ -2328,44 +2484,57 @@ "return_enroll_settings": true }, "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true }, "realms": [ "Username-Password-Authentication" ] }, - "status": 201, + "status": 200, "response": { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, "return_enroll_settings": true }, "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, "strategy_version": 2, - "brute_force_protection": true, "authentication_methods": { - "password": { - "enabled": true - }, "passkey": { "enabled": false + }, + "password": { + "enabled": true } }, - "passkey_options": { - "challenge_ui": "both", - "progressive_enrollment_enabled": true, - "local_enrollment_enabled": true - } + "brute_force_protection": true }, "strategy": "auth0", "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], "realms": [ "Username-Password-Authentication" @@ -2426,6 +2595,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -2463,7 +2675,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2518,7 +2730,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2567,7 +2779,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2608,7 +2820,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2661,7 +2873,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2679,59 +2891,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -2774,7 +2933,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2799,18 +2958,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -2822,7 +2991,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2830,10 +2999,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2890,7 +3059,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -2946,12 +3115,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -2967,12 +3136,12 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3002,8 +3171,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -3023,7 +3192,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -3079,12 +3248,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -3100,12 +3269,12 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" ] }, { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -3135,8 +3304,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -3147,11 +3316,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_UMCD4ZRwgr4QaHtl", + "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], "is_domain_connection": false, "options": { @@ -3165,7 +3334,7 @@ }, "status": 200, "response": { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -3179,7 +3348,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ], "realms": [ "google-oauth2" @@ -3240,6 +3409,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -3277,7 +3489,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3332,7 +3544,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3381,7 +3593,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3422,7 +3634,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3475,7 +3687,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3488,60 +3700,7 @@ "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -3588,7 +3747,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3613,18 +3772,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -3636,7 +3805,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3644,10 +3813,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -3704,8 +3873,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -3841,8 +4010,8 @@ ] }, { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4187,22 +4356,22 @@ "response": { "roles": [ { - "id": "rol_5aXYTodKygq1Yuaj", + "id": "rol_XL2Vm5aw2TTxbBTK", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_YWfS3O6ZI5WrsrYW", + "id": "rol_VPswP8pd5HvHwSiO", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_q30FzIeU1tOybF2I", + "id": "rol_dhIF1pCAP1ld2Zot", "name": "read_only", "description": "Read Only" }, { - "id": "rol_GclzJFap0cQjnukV", + "id": "rol_sRU37NBK33W1J2mR", "name": "read_osnly", "description": "Readz Only" } @@ -4217,7 +4386,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4232,7 +4401,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4247,7 +4416,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4262,7 +4431,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4283,7 +4452,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -4291,34 +4460,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-10-30T13:46:58.563199950Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 2, - "build_time": "2024-10-30T13:46:59.332135805Z", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z" + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", "deployed": true, - "number": 2, - "built_at": "2024-10-30T13:46:59.332135805Z", + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", "secrets": [], "status": "built", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", "runtime": "node16", "supported_triggers": [ { @@ -4345,7 +4514,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", "name": "My Custom Action", "supported_triggers": [ { @@ -4353,34 +4522,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-10-30T13:46:58.563199950Z", + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 2, - "build_time": "2024-10-30T13:46:59.332135805Z", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z" + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", "deployed": true, - "number": 2, - "built_at": "2024-10-30T13:46:59.332135805Z", + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", "secrets": [], "status": "built", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", "runtime": "node16", "supported_triggers": [ { @@ -4407,7 +4576,7 @@ "response": { "organizations": [ { - "id": "org_W3jteblmyX4vVdpE", + "id": "org_6pcbE8NjmLYMaNPk", "name": "org1", "display_name": "Organization", "branding": { @@ -4418,7 +4587,7 @@ } }, { - "id": "org_uMVVAPzVdtaJkuAE", + "id": "org_PqrZQ4CbcMvRFBK2", "name": "org2", "display_name": "Organization2" } @@ -4482,6 +4651,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -4519,7 +4731,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4574,7 +4786,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4623,7 +4835,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4664,7 +4876,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4717,7 +4929,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4735,59 +4947,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -4830,7 +4989,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4855,18 +5014,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -4878,7 +5047,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4886,10 +5055,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -4937,7 +5106,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, "response": [], @@ -4947,7 +5116,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", "body": "", "status": 200, "response": [], @@ -4957,7 +5126,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", "body": "", "status": 200, "response": [], @@ -4967,7 +5136,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", "body": "", "status": 200, "response": [], @@ -4986,7 +5155,7 @@ "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, @@ -5042,12 +5211,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_eaD9x7dXNhWAvMQD", "options": { "email": true, "scope": [ @@ -5064,11 +5233,11 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T" + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] }, { - "id": "con_0izbLRpsXgcRJlU7", + "id": "con_TwowA0bsutc7ko0Z", "options": { "mfa": { "active": true, @@ -5098,8 +5267,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" ] } ] @@ -5119,8 +5288,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5256,8 +5425,8 @@ ] }, { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5645,6 +5814,49 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -5682,7 +5894,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5737,7 +5949,7 @@ } ], "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5786,7 +5998,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5827,7 +6039,7 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5880,7 +6092,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5898,59 +6110,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -5993,7 +6152,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6018,18 +6177,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -6041,7 +6210,7 @@ "subject": "deprecated" } ], - "client_id": "TdpcrWqrtWVrRfe5iRU2Z95AomX5rR0T", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6049,10 +6218,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true diff --git a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json index e6d45bc3..ef8adc8c 100644 --- a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -834,6 +843,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -925,6 +938,18 @@ { "value": "delete:client_credentials", "description": "delete Client Credentials" + }, + { + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" + }, + { + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" + }, + { + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" } ], "is_system": true @@ -941,7 +966,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 9, "start": 0, "limit": 100, "clients": [ @@ -1005,6 +1030,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1012,7 +1038,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1027,229 +1053,377 @@ "client_credentials" ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/tenants/settings", - "body": "", - "status": 200, - "response": { - "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" - ], - "change_password": { - "enabled": true, - "html": "Change Password\n" - }, - "enabled_locales": [ - "en" - ], - "error_page": { - "html": "Error Page\n", - "show_log_link": false, - "url": "https://mycompany.org/error" - }, - "flags": { - "allow_changing_enable_sso": false, - "allow_legacy_delegation_grant_types": true, - "allow_legacy_ro_grant_types": true, - "change_pwd_flow_v1": false, - "disable_impersonation": true, - "enable_apis_section": false, - "enable_client_connections": false, - "enable_custom_domain_in_emails": false, - "enable_dynamic_client_registration": false, - "enable_legacy_logs_search_v2": false, - "enable_public_signup_user_exists_error": true, - "enable_sso": true, - "new_universal_login_experience_enabled": true, - "universal_login": true, - "use_scope_descriptions_for_consent": false, - "revoke_refresh_token_grant": false, - "disable_clickjack_protection_headers": false, - "enable_pipeline2": false - }, - "friendly_name": "My Test Tenant", - "guardian_mfa_page": { - "enabled": true, - "html": "MFA\n" - }, - "idle_session_lifetime": 1, - "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", - "sandbox_version": "12", - "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", - "universal_login": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - } - }, - "session_cookie": { - "mode": "non-persistent" - }, - "sandbox_versions_available": [ - "18", - "16", - "12" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/verify_email", - "body": "", - "status": 200, - "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", - "body": "", - "status": 404, - "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -1257,14 +1431,111 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -1272,14 +1543,132 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -1287,14 +1676,70 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/tenants/settings", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "allowed_logout_urls": [ + "https://mycompany.org/logoutCallback" + ], + "change_password": { + "enabled": true, + "html": "Change Password\n" + }, + "enabled_locales": [ + "en" + ], + "error_page": { + "html": "Error Page\n", + "show_log_link": false, + "url": "https://mycompany.org/error" + }, + "flags": { + "allow_changing_enable_sso": false, + "allow_legacy_delegation_grant_types": true, + "allow_legacy_ro_grant_types": true, + "change_pwd_flow_v1": false, + "disable_impersonation": true, + "enable_apis_section": false, + "enable_client_connections": false, + "enable_custom_domain_in_emails": false, + "enable_dynamic_client_registration": false, + "enable_legacy_logs_search_v2": false, + "enable_public_signup_user_exists_error": true, + "enable_sso": true, + "new_universal_login_experience_enabled": true, + "universal_login": true, + "use_scope_descriptions_for_consent": false, + "revoke_refresh_token_grant": false, + "disable_clickjack_protection_headers": false, + "enable_pipeline2": false + }, + "friendly_name": "My Test Tenant", + "guardian_mfa_page": { + "enabled": true, + "html": "MFA\n" + }, + "idle_session_lifetime": 1, + "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", + "sandbox_version": "12", + "session_lifetime": 3.0166666666666666, + "support_email": "support@mycompany.org", + "support_url": "https://mycompany.org/support", + "universal_login": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + } + }, + "session_cookie": { + "mode": "non-persistent" + }, + "sandbox_versions_available": [ + "18", + "16", + "12" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -1302,14 +1747,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1317,14 +1762,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/verify_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -1332,7 +1780,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -1347,7 +1795,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -1362,7 +1810,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/reset_email", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -1393,6 +1856,81 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/user_invitation", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/password_reset", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/change_password", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/enrollment_email", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/blocked_account", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -1400,13 +1938,13 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "client_grants": [ { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -1522,11 +2060,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -1543,168 +2076,554 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors", - "body": "", - "status": 200, - "response": [ - { - "name": "sms", - "enabled": false, - "trial_expired": false - }, - { - "name": "push-notification", - "enabled": false, - "trial_expired": false - }, - { - "name": "otp", - "enabled": false, - "trial_expired": false - }, - { - "name": "email", - "enabled": false, - "trial_expired": false - }, - { - "name": "duo", - "enabled": false, - "trial_expired": false - }, - { - "name": "webauthn-roaming", - "enabled": false, - "trial_expired": false - }, - { - "name": "webauthn-platform", - "enabled": false, - "trial_expired": false - }, - { - "name": "recovery-code", - "enabled": false, - "trial_expired": false - } - ], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", - "body": "", - "status": 200, - "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/sms/templates", - "body": "", - "status": 200, - "response": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/policies", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": "", - "status": 200, - "response": { - "provider": "auth0" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": "", - "status": 200, - "response": { - "message_types": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + }, + { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors", + "body": "", + "status": 200, + "response": [ + { + "name": "sms", + "enabled": false, + "trial_expired": false + }, + { + "name": "push-notification", + "enabled": false, + "trial_expired": false + }, + { + "name": "otp", + "enabled": false, + "trial_expired": false + }, + { + "name": "email", + "enabled": false, + "trial_expired": false + }, + { + "name": "duo", + "enabled": false, + "trial_expired": false + }, + { + "name": "webauthn-roaming", + "enabled": false, + "trial_expired": false + }, + { + "name": "webauthn-platform", + "enabled": false, + "trial_expired": false + }, + { + "name": "recovery-code", + "enabled": false, + "trial_expired": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/sms/providers/twilio", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/sms/templates", + "body": "", + "status": 200, + "response": { + "enrollment_message": "enroll foo", + "verification_message": "verify foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/policies", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/phone/selected-provider", + "body": "", + "status": 200, + "response": { + "provider": "auth0" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/phone/message-types", + "body": "", + "status": 200, + "response": { + "message_types": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [ + { + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" + } + ], + "start": 0, + "limit": 100, + "total": 4 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "roles": [], + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -1825,7 +2744,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1835,7 +2754,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1845,7 +2764,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1865,7 +2784,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1925,7 +2844,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1935,7 +2854,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1955,7 +2874,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1965,7 +2884,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1975,7 +2894,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2075,7 +2994,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -2095,7 +3014,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -2105,7 +3024,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -2125,7 +3044,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -2149,7 +3068,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -2163,6 +3131,29 @@ "status": 200, "response": { "triggers": [ + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-login", "version": "v3", @@ -2182,7 +3173,7 @@ ] }, { - "id": "post-login", + "id": "credentials-exchange", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -2193,19 +3184,20 @@ "compatible_triggers": [] }, { - "id": "post-login", + "id": "credentials-exchange", "version": "v2", - "status": "DEPRECATED", + "status": "CURRENT", "runtimes": [ "node12", - "node16" + "node16", + "node18-actions" ], - "default_runtime": "node16", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "credentials-exchange", + "id": "pre-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -2218,7 +3210,7 @@ "compatible_triggers": [] }, { - "id": "credentials-exchange", + "id": "pre-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -2229,7 +3221,7 @@ "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "post-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -2240,7 +3232,7 @@ "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "post-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -2253,18 +3245,7 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-user-registration", + "id": "post-change-password", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -2288,7 +3269,7 @@ "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "send-phone-message", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -2310,19 +3291,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" - ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "password-reset-post-challenge", "version": "v1", @@ -2523,6 +3491,38 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_6pcbE8NjmLYMaNPk", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_PqrZQ4CbcMvRFBK2", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2530,7 +3530,7 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -2538,11 +3538,105 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -2552,7 +3646,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2560,7 +3655,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2568,6 +3663,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -2579,8 +3675,110 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2589,11 +3787,183 @@ "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2601,7 +3971,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2609,10 +3979,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2660,15 +4030,40 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "body": "", + "status": 200, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -2695,26 +4090,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -2722,18 +4109,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -2744,7 +4139,69 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [], + "response": [ + { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018492", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], "rawHeaders": [], "responseIsBinary": false }, @@ -2780,10 +4237,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -2795,10 +4261,41 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", + "body": { + "name": "my-rule", + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "enabled": true, + "order": 2 + }, + "status": 200, + "response": { + "id": "rul_ONfKpNKvvGFHPEPA", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" }, "rawHeaders": [], "responseIsBinary": false @@ -3036,765 +4533,4477 @@ "signing_alg": "RS256", "scopes": [ { - "description": "Read Client Grants", - "value": "read:client_grants" + "description": "Read Client Grants", + "value": "read:client_grants" + }, + { + "description": "Create Client Grants", + "value": "create:client_grants" + }, + { + "description": "Delete Client Grants", + "value": "delete:client_grants" + }, + { + "description": "Update Client Grants", + "value": "update:client_grants" + }, + { + "description": "Read Users", + "value": "read:users" + }, + { + "description": "Update Users", + "value": "update:users" + }, + { + "description": "Delete Users", + "value": "delete:users" + }, + { + "description": "Create Users", + "value": "create:users" + }, + { + "description": "Read Users App Metadata", + "value": "read:users_app_metadata" + }, + { + "description": "Update Users App Metadata", + "value": "update:users_app_metadata" + }, + { + "description": "Delete Users App Metadata", + "value": "delete:users_app_metadata" + }, + { + "description": "Create Users App Metadata", + "value": "create:users_app_metadata" + }, + { + "description": "Read Custom User Blocks", + "value": "read:user_custom_blocks" + }, + { + "description": "Create Custom User Blocks", + "value": "create:user_custom_blocks" + }, + { + "description": "Delete Custom User Blocks", + "value": "delete:user_custom_blocks" + }, + { + "description": "Create User Tickets", + "value": "create:user_tickets" + }, + { + "description": "Read Clients", + "value": "read:clients" + }, + { + "description": "Update Clients", + "value": "update:clients" + }, + { + "description": "Delete Clients", + "value": "delete:clients" + }, + { + "description": "Create Clients", + "value": "create:clients" + }, + { + "description": "Read Client Keys", + "value": "read:client_keys" + }, + { + "description": "Update Client Keys", + "value": "update:client_keys" + }, + { + "description": "Delete Client Keys", + "value": "delete:client_keys" + }, + { + "description": "Create Client Keys", + "value": "create:client_keys" + }, + { + "description": "Read Connections", + "value": "read:connections" + }, + { + "description": "Update Connections", + "value": "update:connections" + }, + { + "description": "Delete Connections", + "value": "delete:connections" + }, + { + "description": "Create Connections", + "value": "create:connections" + }, + { + "description": "Read Resource Servers", + "value": "read:resource_servers" + }, + { + "description": "Update Resource Servers", + "value": "update:resource_servers" + }, + { + "description": "Delete Resource Servers", + "value": "delete:resource_servers" + }, + { + "description": "Create Resource Servers", + "value": "create:resource_servers" + }, + { + "description": "Read Device Credentials", + "value": "read:device_credentials" + }, + { + "description": "Update Device Credentials", + "value": "update:device_credentials" + }, + { + "description": "Delete Device Credentials", + "value": "delete:device_credentials" + }, + { + "description": "Create Device Credentials", + "value": "create:device_credentials" }, { - "description": "Create Client Grants", - "value": "create:client_grants" + "description": "Read Rules", + "value": "read:rules" }, { - "description": "Delete Client Grants", - "value": "delete:client_grants" + "description": "Update Rules", + "value": "update:rules" }, { - "description": "Update Client Grants", - "value": "update:client_grants" + "description": "Delete Rules", + "value": "delete:rules" }, { - "description": "Read Users", - "value": "read:users" + "description": "Create Rules", + "value": "create:rules" }, { - "description": "Update Users", - "value": "update:users" + "description": "Read Rules Configs", + "value": "read:rules_configs" }, { - "description": "Delete Users", - "value": "delete:users" + "description": "Update Rules Configs", + "value": "update:rules_configs" }, { - "description": "Create Users", - "value": "create:users" + "description": "Delete Rules Configs", + "value": "delete:rules_configs" }, { - "description": "Read Users App Metadata", - "value": "read:users_app_metadata" + "description": "Read Hooks", + "value": "read:hooks" }, { - "description": "Update Users App Metadata", - "value": "update:users_app_metadata" + "description": "Update Hooks", + "value": "update:hooks" }, { - "description": "Delete Users App Metadata", - "value": "delete:users_app_metadata" + "description": "Delete Hooks", + "value": "delete:hooks" }, { - "description": "Create Users App Metadata", - "value": "create:users_app_metadata" + "description": "Create Hooks", + "value": "create:hooks" }, { - "description": "Read Custom User Blocks", - "value": "read:user_custom_blocks" + "description": "Read Actions", + "value": "read:actions" }, { - "description": "Create Custom User Blocks", - "value": "create:user_custom_blocks" + "description": "Update Actions", + "value": "update:actions" }, { - "description": "Delete Custom User Blocks", - "value": "delete:user_custom_blocks" + "description": "Delete Actions", + "value": "delete:actions" }, { - "description": "Create User Tickets", - "value": "create:user_tickets" + "description": "Create Actions", + "value": "create:actions" }, { - "description": "Read Clients", - "value": "read:clients" + "description": "Read Email Provider", + "value": "read:email_provider" }, { - "description": "Update Clients", - "value": "update:clients" + "description": "Update Email Provider", + "value": "update:email_provider" }, { - "description": "Delete Clients", - "value": "delete:clients" + "description": "Delete Email Provider", + "value": "delete:email_provider" }, { - "description": "Create Clients", - "value": "create:clients" + "description": "Create Email Provider", + "value": "create:email_provider" }, { - "description": "Read Client Keys", - "value": "read:client_keys" + "description": "Blacklist Tokens", + "value": "blacklist:tokens" }, { - "description": "Update Client Keys", - "value": "update:client_keys" + "description": "Read Stats", + "value": "read:stats" }, { - "description": "Delete Client Keys", - "value": "delete:client_keys" + "description": "Read Insights", + "value": "read:insights" }, { - "description": "Create Client Keys", - "value": "create:client_keys" + "description": "Read Tenant Settings", + "value": "read:tenant_settings" }, { - "description": "Read Connections", - "value": "read:connections" + "description": "Update Tenant Settings", + "value": "update:tenant_settings" }, { - "description": "Update Connections", - "value": "update:connections" + "description": "Read Logs", + "value": "read:logs" }, { - "description": "Delete Connections", - "value": "delete:connections" + "description": "Read logs relating to users", + "value": "read:logs_users" }, { - "description": "Create Connections", - "value": "create:connections" + "description": "Read Shields", + "value": "read:shields" + }, + { + "description": "Create Shields", + "value": "create:shields" + }, + { + "description": "Update Shields", + "value": "update:shields" + }, + { + "description": "Delete Shields", + "value": "delete:shields" + }, + { + "description": "Read Anomaly Detection Blocks", + "value": "read:anomaly_blocks" + }, + { + "description": "Delete Anomaly Detection Blocks", + "value": "delete:anomaly_blocks" + }, + { + "description": "Update Triggers", + "value": "update:triggers" + }, + { + "description": "Read Triggers", + "value": "read:triggers" + }, + { + "description": "Read User Grants", + "value": "read:grants" + }, + { + "description": "Delete User Grants", + "value": "delete:grants" + }, + { + "description": "Read Guardian factors configuration", + "value": "read:guardian_factors" + }, + { + "description": "Update Guardian factors", + "value": "update:guardian_factors" + }, + { + "description": "Read Guardian enrollments", + "value": "read:guardian_enrollments" + }, + { + "description": "Delete Guardian enrollments", + "value": "delete:guardian_enrollments" + }, + { + "description": "Create enrollment tickets for Guardian", + "value": "create:guardian_enrollment_tickets" + }, + { + "description": "Read Users IDP tokens", + "value": "read:user_idp_tokens" + }, + { + "description": "Create password checking jobs", + "value": "create:passwords_checking_job" + }, + { + "description": "Deletes password checking job and all its resources", + "value": "delete:passwords_checking_job" + }, + { + "description": "Read custom domains configurations", + "value": "read:custom_domains" + }, + { + "description": "Delete custom domains configurations", + "value": "delete:custom_domains" + }, + { + "description": "Configure new custom domains", + "value": "create:custom_domains" + }, + { + "description": "Update custom domain configurations", + "value": "update:custom_domains" + }, + { + "description": "Read email templates", + "value": "read:email_templates" + }, + { + "description": "Create email templates", + "value": "create:email_templates" + }, + { + "description": "Update email templates", + "value": "update:email_templates" + }, + { + "description": "Read Multifactor Authentication policies", + "value": "read:mfa_policies" + }, + { + "description": "Update Multifactor Authentication policies", + "value": "update:mfa_policies" + }, + { + "description": "Read roles", + "value": "read:roles" + }, + { + "description": "Create roles", + "value": "create:roles" + }, + { + "description": "Delete roles", + "value": "delete:roles" + }, + { + "description": "Update roles", + "value": "update:roles" + }, + { + "description": "Read prompts settings", + "value": "read:prompts" + }, + { + "description": "Update prompts settings", + "value": "update:prompts" + }, + { + "description": "Read branding settings", + "value": "read:branding" + }, + { + "description": "Update branding settings", + "value": "update:branding" + }, + { + "description": "Delete branding settings", + "value": "delete:branding" + }, + { + "description": "Read log_streams", + "value": "read:log_streams" }, { - "description": "Read Resource Servers", - "value": "read:resource_servers" + "description": "Create log_streams", + "value": "create:log_streams" }, { - "description": "Update Resource Servers", - "value": "update:resource_servers" + "description": "Delete log_streams", + "value": "delete:log_streams" }, { - "description": "Delete Resource Servers", - "value": "delete:resource_servers" + "description": "Update log_streams", + "value": "update:log_streams" }, { - "description": "Create Resource Servers", - "value": "create:resource_servers" + "description": "Create signing keys", + "value": "create:signing_keys" }, { - "description": "Read Device Credentials", - "value": "read:device_credentials" + "description": "Read signing keys", + "value": "read:signing_keys" }, { - "description": "Update Device Credentials", - "value": "update:device_credentials" + "description": "Update signing keys", + "value": "update:signing_keys" }, { - "description": "Delete Device Credentials", - "value": "delete:device_credentials" + "description": "Read entity limits", + "value": "read:limits" }, { - "description": "Create Device Credentials", - "value": "create:device_credentials" + "description": "Update entity limits", + "value": "update:limits" }, { - "description": "Read Rules", - "value": "read:rules" + "description": "Create role members", + "value": "create:role_members" }, { - "description": "Update Rules", - "value": "update:rules" + "description": "Read role members", + "value": "read:role_members" }, { - "description": "Delete Rules", - "value": "delete:rules" + "description": "Update role members", + "value": "delete:role_members" }, { - "description": "Create Rules", - "value": "create:rules" + "description": "Read entitlements", + "value": "read:entitlements" }, { - "description": "Read Rules Configs", - "value": "read:rules_configs" + "description": "Read attack protection", + "value": "read:attack_protection" }, { - "description": "Update Rules Configs", - "value": "update:rules_configs" + "description": "Update attack protection", + "value": "update:attack_protection" }, { - "description": "Delete Rules Configs", - "value": "delete:rules_configs" + "description": "Read organization summary", + "value": "read:organizations_summary" }, { - "description": "Read Hooks", - "value": "read:hooks" + "description": "Create Authentication Methods", + "value": "create:authentication_methods" }, { - "description": "Update Hooks", - "value": "update:hooks" + "description": "Read Authentication Methods", + "value": "read:authentication_methods" }, { - "description": "Delete Hooks", - "value": "delete:hooks" + "description": "Update Authentication Methods", + "value": "update:authentication_methods" }, { - "description": "Create Hooks", - "value": "create:hooks" + "description": "Delete Authentication Methods", + "value": "delete:authentication_methods" }, { - "description": "Read Actions", - "value": "read:actions" + "description": "Read Organizations", + "value": "read:organizations" }, { - "description": "Update Actions", - "value": "update:actions" + "description": "Update Organizations", + "value": "update:organizations" }, { - "description": "Delete Actions", - "value": "delete:actions" + "description": "Create Organizations", + "value": "create:organizations" }, { - "description": "Create Actions", - "value": "create:actions" + "description": "Delete Organizations", + "value": "delete:organizations" }, { - "description": "Read Email Provider", - "value": "read:email_provider" + "description": "Create organization members", + "value": "create:organization_members" }, { - "description": "Update Email Provider", - "value": "update:email_provider" + "description": "Read organization members", + "value": "read:organization_members" }, { - "description": "Delete Email Provider", - "value": "delete:email_provider" + "description": "Delete organization members", + "value": "delete:organization_members" }, { - "description": "Create Email Provider", - "value": "create:email_provider" + "description": "Create organization connections", + "value": "create:organization_connections" }, { - "description": "Blacklist Tokens", - "value": "blacklist:tokens" + "description": "Read organization connections", + "value": "read:organization_connections" }, { - "description": "Read Stats", - "value": "read:stats" + "description": "Update organization connections", + "value": "update:organization_connections" }, { - "description": "Read Insights", - "value": "read:insights" + "description": "Delete organization connections", + "value": "delete:organization_connections" }, { - "description": "Read Tenant Settings", - "value": "read:tenant_settings" + "description": "Create organization member roles", + "value": "create:organization_member_roles" }, { - "description": "Update Tenant Settings", - "value": "update:tenant_settings" + "description": "Read organization member roles", + "value": "read:organization_member_roles" }, { - "description": "Read Logs", - "value": "read:logs" + "description": "Delete organization member roles", + "value": "delete:organization_member_roles" }, { - "description": "Read logs relating to users", - "value": "read:logs_users" + "description": "Create organization invitations", + "value": "create:organization_invitations" }, { - "description": "Read Shields", - "value": "read:shields" + "description": "Read organization invitations", + "value": "read:organization_invitations" }, { - "description": "Create Shields", - "value": "create:shields" + "description": "Delete organization invitations", + "value": "delete:organization_invitations" }, { - "description": "Update Shields", - "value": "update:shields" + "description": "Read SCIM configuration", + "value": "read:scim_config" }, { - "description": "Delete Shields", - "value": "delete:shields" + "description": "Create SCIM configuration", + "value": "create:scim_config" }, { - "description": "Read Anomaly Detection Blocks", - "value": "read:anomaly_blocks" + "description": "Update SCIM configuration", + "value": "update:scim_config" }, { - "description": "Delete Anomaly Detection Blocks", - "value": "delete:anomaly_blocks" + "description": "Delete SCIM configuration", + "value": "delete:scim_config" }, { - "description": "Update Triggers", - "value": "update:triggers" + "description": "Create SCIM token", + "value": "create:scim_token" }, { - "description": "Read Triggers", - "value": "read:triggers" + "description": "Read SCIM token", + "value": "read:scim_token" }, { - "description": "Read User Grants", - "value": "read:grants" + "description": "Delete SCIM token", + "value": "delete:scim_token" }, { - "description": "Delete User Grants", - "value": "delete:grants" + "description": "Delete a Phone Notification Provider", + "value": "delete:phone_providers" }, { - "description": "Read Guardian factors configuration", - "value": "read:guardian_factors" + "description": "Create a Phone Notification Provider", + "value": "create:phone_providers" }, { - "description": "Update Guardian factors", - "value": "update:guardian_factors" + "description": "Read a Phone Notification Provider", + "value": "read:phone_providers" }, { - "description": "Read Guardian enrollments", - "value": "read:guardian_enrollments" + "description": "Update a Phone Notification Provider", + "value": "update:phone_providers" }, { - "description": "Delete Guardian enrollments", - "value": "delete:guardian_enrollments" + "description": "Delete a Phone Notification Template", + "value": "delete:phone_templates" }, { - "description": "Create enrollment tickets for Guardian", - "value": "create:guardian_enrollment_tickets" + "description": "Create a Phone Notification Template", + "value": "create:phone_templates" }, { - "description": "Read Users IDP tokens", - "value": "read:user_idp_tokens" + "description": "Read a Phone Notification Template", + "value": "read:phone_templates" }, { - "description": "Create password checking jobs", - "value": "create:passwords_checking_job" + "description": "Update a Phone Notification Template", + "value": "update:phone_templates" }, { - "description": "Deletes password checking job and all its resources", - "value": "delete:passwords_checking_job" + "description": "Create encryption keys", + "value": "create:encryption_keys" }, { - "description": "Read custom domains configurations", - "value": "read:custom_domains" + "description": "Read encryption keys", + "value": "read:encryption_keys" }, { - "description": "Delete custom domains configurations", - "value": "delete:custom_domains" + "description": "Update encryption keys", + "value": "update:encryption_keys" }, { - "description": "Configure new custom domains", - "value": "create:custom_domains" + "description": "Delete encryption keys", + "value": "delete:encryption_keys" }, { - "description": "Update custom domain configurations", - "value": "update:custom_domains" + "description": "Read Sessions", + "value": "read:sessions" }, { - "description": "Read email templates", - "value": "read:email_templates" + "description": "Delete Sessions", + "value": "delete:sessions" }, { - "description": "Create email templates", - "value": "create:email_templates" + "description": "Read Refresh Tokens", + "value": "read:refresh_tokens" }, { - "description": "Update email templates", - "value": "update:email_templates" + "description": "Delete Refresh Tokens", + "value": "delete:refresh_tokens" }, { - "description": "Read Multifactor Authentication policies", - "value": "read:mfa_policies" + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" }, { - "description": "Update Multifactor Authentication policies", - "value": "update:mfa_policies" + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" }, { - "description": "Read roles", - "value": "read:roles" + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" }, { - "description": "Create roles", - "value": "create:roles" + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" }, { - "description": "Delete roles", - "value": "delete:roles" + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" }, { - "description": "Update roles", - "value": "update:roles" + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" }, { - "description": "Read prompts settings", - "value": "read:prompts" + "description": "Read Forms", + "value": "read:forms" }, { - "description": "Update prompts settings", - "value": "update:prompts" + "description": "Update Forms", + "value": "update:forms" }, { - "description": "Read branding settings", - "value": "read:branding" + "description": "Delete Forms", + "value": "delete:forms" }, { - "description": "Update branding settings", - "value": "update:branding" + "description": "Create Forms", + "value": "create:forms" }, { - "description": "Delete branding settings", - "value": "delete:branding" + "description": "Read Flows", + "value": "read:flows" }, { - "description": "Read log_streams", - "value": "read:log_streams" + "description": "Update Flows", + "value": "update:flows" }, { - "description": "Create log_streams", - "value": "create:log_streams" + "description": "Delete Flows", + "value": "delete:flows" }, { - "description": "Delete log_streams", - "value": "delete:log_streams" + "description": "Create Flows", + "value": "create:flows" }, { - "description": "Update log_streams", - "value": "update:log_streams" + "description": "Read Flows Vault items", + "value": "read:flows_vault" }, { - "description": "Create signing keys", - "value": "create:signing_keys" + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" }, { - "description": "Read signing keys", - "value": "read:signing_keys" + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" }, { - "description": "Update signing keys", - "value": "update:signing_keys" + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" }, { - "description": "Read entity limits", - "value": "read:limits" + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" }, { - "description": "Update entity limits", - "value": "update:limits" + "description": "Read Flows Executions", + "value": "read:flows_executions" }, { - "description": "Create role members", - "value": "create:role_members" + "description": "Delete Flows Executions", + "value": "delete:flows_executions" }, { - "description": "Read role members", - "value": "read:role_members" + "description": "Read Connections Options", + "value": "read:connections_options" }, { - "description": "Update role members", - "value": "delete:role_members" + "description": "Update Connections Options", + "value": "update:connections_options" }, { - "description": "Read entitlements", - "value": "read:entitlements" + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" }, { - "description": "Read attack protection", - "value": "read:attack_protection" + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" }, { - "description": "Update attack protection", - "value": "update:attack_protection" + "value": "read:client_credentials", + "description": "Read Client Credentials" }, { - "description": "Read organization summary", - "value": "read:organizations_summary" + "value": "create:client_credentials", + "description": "Create Client Credentials" }, { - "description": "Create Authentication Methods", - "value": "create:authentication_methods" + "value": "update:client_credentials", + "description": "Update Client Credentials" }, { - "description": "Read Authentication Methods", - "value": "read:authentication_methods" + "value": "delete:client_credentials", + "description": "delete Client Credentials" }, { - "description": "Update Authentication Methods", - "value": "update:authentication_methods" + "value": "read:organization_client_grants", + "description": "Read Organization Client Grants" }, { - "description": "Delete Authentication Methods", - "value": "delete:authentication_methods" + "value": "create:organization_client_grants", + "description": "Create Organization Client Grants" }, { - "description": "Read Organizations", - "value": "read:organizations" - }, + "value": "delete:organization_client_grants", + "description": "Delete Organization Client Grants" + } + ], + "is_system": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true&is_global=false", + "body": "", + "status": 200, + "response": { + "total": 9, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ { - "description": "Update Organizations", - "value": "update:organizations" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create Organizations", - "value": "create:organizations" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete Organizations", - "value": "delete:organizations" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create organization members", - "value": "create:organization_members" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read organization members", - "value": "read:organization_members" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete organization members", - "value": "delete:organization_members" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create organization connections", - "value": "create:organization_connections" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read organization connections", - "value": "read:organization_connections" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "body": { + "name": "API Explorer Application", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "body": { + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "body": { + "name": "Quickstarts API (Test Application)", + "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "body": { + "name": "Terraform Provider", + "app_type": "non_interactive", + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "body": { + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "body": { + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "body": { + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": false, + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/emails/provider", + "body": { + "name": "mandrill", + "credentials": { + "api_key": "##MANDRILL_API_KEY##" + }, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/otp", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/email", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/duo", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/push-notification", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-roaming", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-platform", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/sms", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/sms/templates", + "body": { + "enrollment_message": "enroll foo", + "verification_message": "verify foo" + }, + "status": 200, + "response": { + "enrollment_message": "enroll foo", + "verification_message": "verify foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/policies", + "body": [], + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/selected-provider", + "body": { + "provider": "auth0" + }, + "status": 200, + "response": { + "provider": "auth0" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/phone/message-types", + "body": { + "message_types": [] + }, + "status": 200, + "response": { + "message_types": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/prompts", + "body": { + "identifier_first": true, + "universal_login_experience": "new" + }, + "status": 200, + "response": { + "universal_login_experience": "new", + "identifier_first": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/log-streams", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000018492", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018491", + "body": { + "name": "Suspended DD Log Stream", + "isPriority": false, + "sink": { + "datadogRegion": "us" + }, + "status": "active" + }, + "status": 200, + "response": { + "id": "lst_0000000000018491", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018492", + "body": { + "name": "Amazon EventBridge", + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false, + "status": "active" + }, + "status": 200, + "response": { + "id": "lst_0000000000018492", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/custom-domains", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ { - "description": "Update organization connections", - "value": "update:organization_connections" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete organization connections", - "value": "delete:organization_connections" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create organization member roles", - "value": "create:organization_member_roles" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read organization member roles", - "value": "read:organization_member_roles" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete organization member roles", - "value": "delete:organization_member_roles" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create organization invitations", - "value": "create:organization_invitations" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read organization invitations", - "value": "read:organization_invitations" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete organization invitations", - "value": "delete:organization_invitations" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read SCIM configuration", - "value": "read:scim_config" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ { - "description": "Create SCIM configuration", - "value": "create:scim_config" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Update SCIM configuration", - "value": "update:scim_config" + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Delete SCIM configuration", - "value": "delete:scim_config" + "password_history": { + "size": 5, + "enable": false }, - { - "description": "Create SCIM token", - "value": "create:scim_token" + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] }, - { - "description": "Read SCIM token", - "value": "read:scim_token" + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Delete SCIM token", - "value": "delete:scim_token" + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true }, - { - "description": "Delete a Phone Notification Provider", - "value": "delete:phone_providers" + "password_complexity_options": { + "min_length": 8 }, - { - "description": "Create a Phone Notification Provider", - "value": "create:phone_providers" + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Read a Phone Notification Provider", - "value": "read:phone_providers" + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Update a Phone Notification Provider", - "value": "update:phone_providers" + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Delete a Phone Notification Template", - "value": "delete:phone_templates" + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Create a Phone Notification Template", - "value": "create:phone_templates" + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Read a Phone Notification Template", - "value": "read:phone_templates" + "password_history": { + "size": 5, + "enable": false }, - { - "description": "Update a Phone Notification Template", - "value": "update:phone_templates" + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] }, - { - "description": "Create encryption keys", - "value": "create:encryption_keys" + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Read encryption keys", - "value": "read:encryption_keys" + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true }, - { - "description": "Update encryption keys", - "value": "update:encryption_keys" + "password_complexity_options": { + "min_length": 8 }, - { - "description": "Delete encryption keys", - "value": "delete:encryption_keys" + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Read Sessions", - "value": "read:sessions" + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Delete Sessions", - "value": "delete:sessions" + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": "", + "status": 200, + "response": { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "is_domain_connection": false, + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "realms": [ + "Username-Password-Authentication" + ] + }, + "status": 200, + "response": { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "body": "", + "status": 200, + "response": { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ], + "realms": [ + "boo-baz-db-connection-test" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "body": { + "enabled_clients": [ + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + ], + "is_domain_connection": false, + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "realms": [ + "boo-baz-db-connection-test" + ] + }, + "status": 200, + "response": { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "enabled_clients": [ + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + ], + "realms": [ + "boo-baz-db-connection-test" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ { - "description": "Read Refresh Tokens", - "value": "read:refresh_tokens" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete Refresh Tokens", - "value": "delete:refresh_tokens" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create Self Service Profiles", - "value": "create:self_service_profiles" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read Self Service Profiles", - "value": "read:self_service_profiles" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Update Self Service Profiles", - "value": "update:self_service_profiles" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Delete Self Service Profiles", - "value": "delete:self_service_profiles" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Create SSO Access Tickets", - "value": "create:sso_access_tickets" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Read Forms", - "value": "read:forms" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ { - "description": "Update Forms", - "value": "update:forms" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ { - "description": "Delete Forms", - "value": "delete:forms" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Create Forms", - "value": "create:forms" + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Read Flows", - "value": "read:flows" + "password_history": { + "size": 5, + "enable": false }, - { - "description": "Update Flows", - "value": "update:flows" + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] }, - { - "description": "Delete Flows", - "value": "delete:flows" + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Create Flows", - "value": "create:flows" + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true }, - { - "description": "Read Flows Vault items", - "value": "read:flows_vault" + "password_complexity_options": { + "min_length": 8 }, - { - "description": "Read Flows Vault connections", - "value": "read:flows_vault_connections" + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Update Flows Vault connections", - "value": "update:flows_vault_connections" + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Delete Flows Vault connections", - "value": "delete:flows_vault_connections" + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Create Flows Vault connections", - "value": "create:flows_vault_connections" + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_xwVqJPyxAvsMfHL1", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "description": "Read Flows Executions", - "value": "read:flows_executions" + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "description": "Delete Flows Executions", - "value": "delete:flows_executions" + "password_history": { + "size": 5, + "enable": false }, - { - "description": "Read Connections Options", - "value": "read:connections_options" + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] }, - { - "description": "Update Connections Options", - "value": "update:connections_options" + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "description": "Read Self Service Profile Custom Texts", - "value": "read:self_service_profile_custom_texts" + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true }, - { - "description": "Update Self Service Profile Custom Texts", - "value": "update:self_service_profile_custom_texts" + "password_complexity_options": { + "min_length": 8 }, - { - "value": "read:client_credentials", - "description": "Read Client Credentials" + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + ] + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - { - "value": "create:client_credentials", - "description": "Create Client Credentials" + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true }, - { - "value": "update:client_credentials", - "description": "Update Client Credentials" + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } }, - { - "value": "delete:client_credentials", - "description": "delete Client Credentials" - } + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" ], - "is_system": true + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] } ] }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "is_domain_connection": false, + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + } + }, + "status": 200, + "response": { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ], + "realms": [ + "google-oauth2" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/email-templates/welcome_email", + "body": { + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600 + }, + "status": 200, + "response": { + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/email-templates/verify_email", + "body": { + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000 + }, + "status": 200, + "response": { + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000, + "enabled": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true&is_global=false", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 2, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -3858,6 +9067,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3865,7 +9075,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3880,350 +9090,898 @@ "client_credentials" ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/a7x8ODABNyKsRrQdgkjgNampU8vadtpO", - "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false - }, - "status": 200, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/emails/provider", - "body": { - "name": "mandrill", - "credentials": { - "api_key": "##MANDRILL_API_KEY##" - }, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/email", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/sms", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/otp", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/sms/templates", - "body": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "status": 200, - "response": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/policies", - "body": [], - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 200, - "response": { - "provider": "auth0" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": { - "message_types": [] - }, - "status": 200, - "response": { - "message_types": [] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/prompts", - "body": { - "identifier_first": true, - "universal_login_experience": "new" - }, + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", "status": 200, "response": { - "universal_login_experience": "new", - "identifier_first": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + { + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + { + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] } - } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4231,29 +9989,278 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4261,27 +10268,278 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4289,153 +10547,50 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/log-streams", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 3, - "start": 0, - "limit": 100, - "clients": [ + "roles": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" } - ] + ], + "start": 0, + "limit": 100, + "total": 4 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -4443,50 +10598,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 1, + "permissions": [], "start": 0, "limit": 100, - "connections": [ - { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] - } - ] + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -4494,169 +10613,383 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true&strategy=auth0", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { - "total": 1, + "permissions": [], "start": 0, "limit": 100, - "connections": [ + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", + "body": { + "name": "Reader", + "description": "Can only read things" + }, + "status": 200, + "response": { + "id": "rol_VPswP8pd5HvHwSiO", + "name": "Reader", + "description": "Can only read things" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "body": { + "name": "Admin", + "description": "Can read and write things" + }, + "status": 200, + "response": { + "id": "rol_XL2Vm5aw2TTxbBTK", + "name": "Admin", + "description": "Can read and write things" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "body": { + "name": "read_only", + "description": "Read Only" + }, + "status": 200, + "response": { + "id": "rol_dhIF1pCAP1ld2Zot", + "name": "read_only", + "description": "Read Only" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "body": { + "name": "read_osnly", + "description": "Readz Only" + }, + "status": 200, + "response": { + "id": "rol_sRU37NBK33W1J2mR", + "name": "read_osnly", + "description": "Readz Only" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-05T06:28:49.401600997Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" } - }, - "brute_force_protection": true + ] }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", + "body": { + "name": "My Custom Action", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "secrets": [], + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" } ] }, + "status": 200, + "response": { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:57:46.739928192Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "pending", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_JMsZyNNbFr4PDt4B", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false + "actions": [ + { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:57:46.739928192Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node16", + "status": "BUILT", + "number": 7, + "build_time": "2024-11-05T06:28:50.645638174Z", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z" }, - "password": { - "enabled": true + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "deployed": true, + "number": 7, + "built_at": "2024-11-05T06:28:50.645638174Z", + "secrets": [], + "status": "built", + "created_at": "2024-11-05T06:28:50.595889802Z", + "updated_at": "2024-11-05T06:28:50.646209815Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", + "body": "", + "status": 200, + "response": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "deployed": false, + "number": 8, + "secrets": [], + "status": "built", + "created_at": "2024-11-06T09:57:47.761926799Z", + "updated_at": "2024-11-06T09:57:47.761926799Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "action": { + "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" } - }, - "brute_force_protection": true + ], + "created_at": "2024-11-05T06:11:12.371764926Z", + "updated_at": "2024-11-06T09:57:46.732394686Z", + "all_changes_deployed": false + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding", + "body": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ], - "realms": [ - "Username-Password-Authentication" - ] + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" + }, + "status": 200, + "response": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + }, + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_JMsZyNNbFr4PDt4B", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ], - "is_domain_connection": false, - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "realms": [ - "Username-Password-Authentication" - ] - }, + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", "status": 200, "response": { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true + "organizations": [ + { + "id": "org_6pcbE8NjmLYMaNPk", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } } }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + { + "id": "org_PqrZQ4CbcMvRFBK2", + "name": "org2", + "display_name": "Organization2" + } ], - "realms": [ - "Username-Password-Authentication" - ] + "start": 0, + "limit": 100, + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -4668,7 +11001,7 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -4676,11 +11009,250 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -4690,7 +11262,8 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4698,7 +11271,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4717,11 +11290,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "The Default App", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -4731,7 +11314,9 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4739,7 +11324,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4747,6 +11332,8 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -4755,6 +11342,122 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": true, @@ -4798,51 +11501,40 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", "body": "", "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] - } - ] - }, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "body": "", + "status": 200, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -4853,24 +11545,43 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_JMsZyNNbFr4PDt4B", + "id": "con_xwVqJPyxAvsMfHL1", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "good", + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, + "password_history": { + "size": 5, + "enable": false + }, "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, "authentication_methods": { "passkey": { "enabled": false @@ -4879,74 +11590,83 @@ "enabled": true } }, - "brute_force_protection": true + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, "strategy": "auth0", - "name": "Username-Password-Authentication", + "name": "boo-baz-db-connection-test", "is_domain_connection": false, "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" + "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", - "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600 - }, - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", - "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000 - }, - "status": 200, - "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + }, + { + "id": "con_eaD9x7dXNhWAvMQD", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + }, + { + "id": "con_TwowA0bsutc7ko0Z", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + ] + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4954,148 +11674,288 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { "total": 3, "start": 0, "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, + "client_grants": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "id": "cgr_7Ip31aptKJ7oLzd0", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ + "id": "cgr_SJh7osTTnNEBmnR5", + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, { "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -5249,82 +12109,50 @@ "update:phone_providers", "delete:phone_templates", "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "roles": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [], - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [], - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding", - "body": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" - }, - "status": 200, - "response": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -5336,7 +12164,7 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -5400,6 +12228,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5407,7 +12236,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5425,28 +12254,34 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": true, + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, - "name": "All Applications", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5454,111 +12289,257 @@ "subject": "deprecated" } ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "callback_url_template": false, "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_JMsZyNNbFr4PDt4B", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a7x8ODABNyKsRrQdgkjgNampU8vadtpO" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "clients": [ + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5566,7 +12547,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5574,10 +12555,16 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5585,21 +12572,32 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -5607,7 +12605,7 @@ "subject": "deprecated" } ], - "client_id": "a7x8ODABNyKsRrQdgkjgNampU8vadtpO", + "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5615,10 +12613,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -5665,181 +12663,44 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", + "method": "PATCH", + "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", + "body": { + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + }, + "display_name": "Organization" + }, "status": 200, "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ - { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" - ] + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" } - ] + }, + "id": "org_6pcbE8NjmLYMaNPk", + "display_name": "Organization", + "name": "org1" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", + "body": { + "display_name": "Organization2" + }, + "status": 200, + "response": { + "id": "org_PqrZQ4CbcMvRFBK2", + "display_name": "Organization2", + "name": "org2" }, "rawHeaders": [], "responseIsBinary": false diff --git a/test/tools/auth0/handlers/organizations.tests.js b/test/tools/auth0/handlers/organizations.tests.js index 73fb05b6..8d3dd417 100644 --- a/test/tools/auth0/handlers/organizations.tests.js +++ b/test/tools/auth0/handlers/organizations.tests.js @@ -168,6 +168,7 @@ describe('#organizations handler', () => { expect(clientGrants[0].client_id).to.equal('abc_123'); return Promise.resolve({ data: clientGrants }); }, + postOrganizationClientGrants: () => Promise.resolve({ data: sampleClientGrant }), }, connections: { getAll: (params) => @@ -210,6 +211,7 @@ describe('#organizations handler', () => { is_signup_enabled: true, }, ], + client_grants: sampleOrgClientGrants, }, ], }, From f7c79a7feb43c328c6420b60488fa26631c64759 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:06:54 +0530 Subject: [PATCH 9/9] updated auth 4.12.0 and unit-test e2e-test --- package-lock.json | 14 +- package.json | 2 +- src/tools/auth0/handlers/organizations.ts | 30 +- ...sources-if-AUTH0_ALLOW_DELETE-is-true.json | 1748 +++--- ...ources-if-AUTH0_ALLOW_DELETE-is-false.json | 5464 +++++++++-------- ...ould-deploy-without-throwing-an-error.json | 832 +-- ...-and-deploy-without-throwing-an-error.json | 1862 +++--- ...should-dump-without-throwing-an-error.json | 710 ++- 8 files changed, 5458 insertions(+), 5204 deletions(-) diff --git a/package-lock.json b/package-lock.json index f5a727a7..63b27328 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "ajv": "^6.12.6", - "auth0": "^4.11.0", + "auth0": "^4.12.0", "dot-prop": "^5.2.0", "fs-extra": "^10.1.0", "global-agent": "^2.1.12", @@ -1401,9 +1401,9 @@ "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" }, "node_modules/auth0": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.11.0.tgz", - "integrity": "sha512-Jtn9TfdpNYL6W1cFIpfQ27rsF83en7WZ4gABx1ovSexJQspfPLBp/RwItEIa4g+OhMCkDQCSvwLSTdC9gCKwiw==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.12.0.tgz", + "integrity": "sha512-5WDAHb8EvWSmRyA9D+FTBrHdEL1RM48PTPHVPxSmzbiAXrhR4pSgwSJyoGjia2+rvMR2NMXhtMfuRRqosEp7PA==", "license": "MIT", "dependencies": { "jose": "^4.13.2", @@ -7765,9 +7765,9 @@ "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" }, "auth0": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.11.0.tgz", - "integrity": "sha512-Jtn9TfdpNYL6W1cFIpfQ27rsF83en7WZ4gABx1ovSexJQspfPLBp/RwItEIa4g+OhMCkDQCSvwLSTdC9gCKwiw==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/auth0/-/auth0-4.12.0.tgz", + "integrity": "sha512-5WDAHb8EvWSmRyA9D+FTBrHdEL1RM48PTPHVPxSmzbiAXrhR4pSgwSJyoGjia2+rvMR2NMXhtMfuRRqosEp7PA==", "requires": { "jose": "^4.13.2", "undici-types": "^6.15.0", diff --git a/package.json b/package.json index 929b9dae..bf01f629 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "homepage": "https://github.com/auth0/auth0-deploy-cli#readme", "dependencies": { "ajv": "^6.12.6", - "auth0": "^4.11.0", + "auth0": "^4.12.0", "dot-prop": "^5.2.0", "fs-extra": "^10.1.0", "global-agent": "^2.1.12", diff --git a/src/tools/auth0/handlers/organizations.ts b/src/tools/auth0/handlers/organizations.ts index 59ddaeb1..6c11e3b0 100644 --- a/src/tools/auth0/handlers/organizations.ts +++ b/src/tools/auth0/handlers/organizations.ts @@ -1,4 +1,4 @@ -import _ from 'lodash'; +import _, { isArray } from 'lodash'; import { Client, ClientGrant, @@ -427,12 +427,34 @@ export default class OrganizationsHandler extends DefaultHandler { async getOrganizationClientGrants( organizationId: string ): Promise { - const { data: organizationClientGrants } = - await this.client.organizations.getOrganizationClientGrants({ + // paginate without paginate helper as this is not getAll but getOrganizationClientGrants + // paginate through all oranizaion client grants for oranizaion id + const allOrganizationClientGrants: GetOrganizationClientGrants200ResponseOneOfInner[] = []; + let page = 0; + while (true) { + const { + data: { client_grants: organizationClientGrants, total }, + } = await this.client.organizations.getOrganizationClientGrants({ id: organizationId, + page: page, + per_page: 100, + include_totals: true, }); - return organizationClientGrants; + // if we get an unexpected response, break the loop to avoid infinite loop + if (!isArray(organizationClientGrants) || typeof total !== 'number') { + break; + } + + allOrganizationClientGrants.push(...organizationClientGrants); + page += 1; + + if (allOrganizationClientGrants.length === total) { + break; + } + } + + return allOrganizationClientGrants; } async createOrganizationClientGrants( diff --git a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json index 4ea6e8b3..6224c03d 100644 --- a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json +++ b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -35,7 +35,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -50,7 +50,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", + "path": "/api/v2/rules/rul_leMju5CJAwJe3nkj", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", @@ -59,7 +59,7 @@ }, "status": 200, "response": { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -1148,7 +1148,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1201,7 +1201,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1256,7 +1256,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1280,10 +1280,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1305,7 +1302,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1324,7 +1321,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1346,7 +1346,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1399,7 +1399,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1421,14 +1421,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1442,13 +1437,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1459,7 +1454,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1468,15 +1463,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1484,9 +1474,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1500,13 +1495,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1517,7 +1512,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1526,10 +1521,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -1541,7 +1541,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "path": "/api/v2/clients/gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "body": "", "status": 204, "response": "", @@ -1551,7 +1551,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "path": "/api/v2/clients/qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "body": { "name": "API Explorer Application", "allowed_clients": [], @@ -1629,7 +1629,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1651,7 +1651,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "path": "/api/v2/clients/6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "body": { "name": "Node App", "allowed_clients": [], @@ -1737,7 +1737,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1763,10 +1763,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "path": "/api/v2/clients/TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "body": { - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ @@ -1796,7 +1799,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1818,7 +1824,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1839,13 +1845,10 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "path": "/api/v2/clients/JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "body": { - "name": "Quickstarts API (Test Application)", + "name": "Terraform Provider", "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ @@ -1875,10 +1878,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1900,7 +1900,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1921,11 +1921,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "path": "/api/v2/clients/jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "body": { - "name": "The Default App", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1933,8 +1939,7 @@ "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" + "refresh_token" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -1950,28 +1955,35 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "sso": false, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1983,17 +1995,16 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -2003,7 +2014,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2012,12 +2023,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -2027,17 +2041,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "path": "/api/v2/clients/CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "body": { - "name": "Test SPA", + "name": "The Default App", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "app_type": "spa", - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, @@ -2045,7 +2053,8 @@ "grant_types": [ "authorization_code", "implicit", - "refresh_token" + "refresh_token", + "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -2061,35 +2070,28 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, - "token_endpoint_auth_method": "none", - "web_origins": [ - "http://localhost:3000" - ] + "token_endpoint_auth_method": "client_secret_post" }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "The Default App", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2101,16 +2103,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -2120,7 +2123,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2129,15 +2132,12 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "refresh_token", + "client_credentials" ], "custom_login_page_on": true }, @@ -2147,7 +2147,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "path": "/api/v2/clients/KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -2225,7 +2225,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2284,7 +2284,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2298,7 +2298,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2312,7 +2312,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -2326,7 +2326,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -2354,13 +2354,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -2368,7 +2368,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -2382,13 +2382,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/sms", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2558,25 +2558,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -2617,6 +2606,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -2625,7 +2625,33 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018492", + "path": "/api/v2/log-streams/lst_0000000000018504", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + "status": 200, + "response": { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000018505", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2670,14 +2696,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -2722,32 +2748,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018491", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } - }, - "status": 200, - "response": { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2837,7 +2837,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2892,7 +2892,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2916,10 +2916,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2941,7 +2938,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2960,7 +2957,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2982,7 +2982,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3035,7 +3035,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3057,14 +3057,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3078,13 +3073,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3095,7 +3090,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3104,15 +3099,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3120,9 +3110,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3136,13 +3131,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3153,7 +3148,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3162,10 +3157,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3221,7 +3221,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3277,12 +3277,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3332,7 +3332,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3388,12 +3388,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3434,11 +3434,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-06T09:58:21.694Z" + "deleted_at": "2024-11-07T10:03:05.564Z" }, "rawHeaders": [], "responseIsBinary": false @@ -3446,11 +3446,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "path": "/api/v2/connections/con_isbl83K0EyW745Cg", "body": "", "status": 200, "response": { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3503,8 +3503,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "boo-baz-db-connection-test" @@ -3516,11 +3516,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "path": "/api/v2/connections/con_isbl83K0EyW745Cg", "body": { "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "is_domain_connection": false, "options": { @@ -3577,7 +3577,7 @@ }, "status": 200, "response": { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3630,8 +3630,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "boo-baz-db-connection-test" @@ -3729,7 +3729,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3784,7 +3784,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3808,10 +3808,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3833,7 +3830,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3852,7 +3849,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3874,7 +3874,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3927,7 +3927,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3949,14 +3949,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3970,13 +3965,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3987,7 +3982,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3996,15 +3991,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" ], "custom_login_page_on": true }, @@ -4012,9 +4002,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4028,13 +4023,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4045,7 +4040,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4054,10 +4049,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4113,7 +4113,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -4169,12 +4169,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -4210,7 +4210,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -4266,12 +4266,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -4298,11 +4298,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "path": "/api/v2/connections/con_A4te7zSEQoMDxaQb", "body": { "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "is_domain_connection": false, "options": { @@ -4316,7 +4316,7 @@ }, "status": 200, "response": { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -4329,8 +4329,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "google-oauth2" @@ -4482,7 +4482,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4537,7 +4537,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4561,10 +4561,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4586,7 +4583,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4605,7 +4602,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4627,7 +4627,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4680,7 +4680,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4702,14 +4702,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4723,13 +4718,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4740,7 +4735,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4749,15 +4744,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4765,9 +4755,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4781,13 +4776,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4798,7 +4793,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4807,10 +4802,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4866,8 +4866,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5003,8 +5003,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5343,7 +5343,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", + "path": "/api/v2/client-grants/cgr_8IA0dLwj49O8P0R0", "body": { "scope": [ "read:client_grants", @@ -5480,8 +5480,8 @@ }, "status": 200, "response": { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5622,7 +5622,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", + "path": "/api/v2/client-grants/cgr_V6CMP7ClGUswJBhB", "body": { "scope": [ "read:client_grants", @@ -5759,8 +5759,8 @@ }, "status": 200, "response": { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5907,22 +5907,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -5937,7 +5937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5952,7 +5952,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5967,7 +5967,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5982,7 +5982,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -5997,16 +5997,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_XL2Vm5aw2TTxbBTK", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_zKNIBuPjhxjGVlNh", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false @@ -6014,16 +6014,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_VPswP8pd5HvHwSiO", - "name": "Reader", - "description": "Can only read things" + "id": "rol_TRRzPxsQJyJTM3ll", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false @@ -6031,14 +6031,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, @@ -6048,14 +6048,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" }, @@ -6071,7 +6071,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6079,34 +6079,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:57:46.739928192Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.140289063Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 8, - "build_time": "2024-11-06T09:57:47.865941930Z", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z" + "number": 2, + "build_time": "2024-11-07T10:00:22.949587433Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": true, - "number": 8, - "built_at": "2024-11-06T09:57:47.865941930Z", + "number": 2, + "built_at": "2024-11-07T10:00:22.949587433Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z", "runtime": "node16", "supported_triggers": [ { @@ -6127,7 +6127,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -6143,7 +6143,7 @@ }, "status": 200, "response": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6151,34 +6151,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:58:32.910416667Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:03:12.847471658Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "pending", "secrets": [], "current_version": { - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 8, - "build_time": "2024-11-06T09:57:47.865941930Z", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z" + "number": 2, + "build_time": "2024-11-07T10:00:22.949587433Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": true, - "number": 8, - "built_at": "2024-11-06T09:57:47.865941930Z", + "number": 2, + "built_at": "2024-11-07T10:00:22.949587433Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z", "runtime": "node16", "supported_triggers": [ { @@ -6201,7 +6201,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6209,34 +6209,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:58:32.910416667Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:03:12.847471658Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 8, - "build_time": "2024-11-06T09:57:47.865941930Z", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z" + "number": 2, + "build_time": "2024-11-07T10:00:22.949587433Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": true, - "number": 8, - "built_at": "2024-11-06T09:57:47.865941930Z", + "number": 2, + "built_at": "2024-11-07T10:00:22.949587433Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.867288707Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z", "runtime": "node16", "supported_triggers": [ { @@ -6257,19 +6257,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", + "id": "60bb32e1-1573-4d52-b8b4-814f93669b3d", "deployed": false, - "number": 9, + "number": 3, "secrets": [], "status": "built", - "created_at": "2024-11-06T09:58:34.036705087Z", - "updated_at": "2024-11-06T09:58:34.036705087Z", + "created_at": "2024-11-07T10:03:13.559000939Z", + "updated_at": "2024-11-07T10:03:13.559000939Z", "runtime": "node16", "supported_triggers": [ { @@ -6278,7 +6278,7 @@ } ], "action": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -6286,8 +6286,8 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:58:32.899315626Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:03:12.839004802Z", "all_changes_deployed": false } }, @@ -6303,7 +6303,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -6314,7 +6314,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -6415,7 +6415,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6470,7 +6470,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6494,10 +6494,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6519,7 +6516,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6538,7 +6535,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6560,7 +6560,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6613,7 +6613,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6635,14 +6635,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6656,13 +6651,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6673,7 +6668,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6682,15 +6677,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -6698,9 +6688,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6714,13 +6709,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6731,7 +6726,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6740,10 +6735,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -6790,7 +6790,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -6800,17 +6800,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -6820,10 +6825,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -6839,7 +6849,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -6895,12 +6905,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -6916,8 +6926,8 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] } ] @@ -6937,8 +6947,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7074,8 +7084,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7500,7 +7510,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7555,7 +7565,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7579,10 +7589,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7604,7 +7611,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7623,7 +7630,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7645,7 +7655,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7698,7 +7708,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7720,14 +7730,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7741,13 +7746,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7758,7 +7763,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7767,15 +7772,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7783,9 +7783,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7799,13 +7804,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7816,7 +7821,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7825,10 +7830,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7875,7 +7885,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw", "body": { "branding": { "colors": { @@ -7893,7 +7903,7 @@ "primary": "#57ddff" } }, - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "display_name": "Organization", "name": "org1" }, @@ -7903,13 +7913,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "display_name": "Organization2", "name": "org2" }, @@ -8030,7 +8040,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8054,7 +8064,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8069,7 +8079,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", + "path": "/api/v2/rules/rul_leMju5CJAwJe3nkj", "body": "", "status": 204, "response": "", @@ -8984,7 +8994,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9039,7 +9049,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9063,10 +9073,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9088,7 +9095,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9107,7 +9114,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9129,7 +9139,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9182,7 +9192,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9204,14 +9214,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9225,13 +9230,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9242,7 +9247,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9251,15 +9256,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9267,9 +9267,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9283,13 +9288,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9300,7 +9305,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9309,10 +9314,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -9324,7 +9334,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "path": "/api/v2/clients/qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "body": "", "status": 204, "response": "", @@ -9334,7 +9344,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "path": "/api/v2/clients/6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "body": "", "status": 204, "response": "", @@ -9344,7 +9354,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "path": "/api/v2/clients/JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "body": "", "status": 204, "response": "", @@ -9354,7 +9364,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "path": "/api/v2/clients/TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "body": "", "status": 204, "response": "", @@ -9364,7 +9374,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "path": "/api/v2/clients/CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "body": "", "status": 204, "response": "", @@ -9374,7 +9384,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "path": "/api/v2/clients/KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "body": "", "status": 204, "response": "", @@ -9384,7 +9394,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "path": "/api/v2/clients/jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "body": "", "status": 204, "response": "", @@ -9455,7 +9465,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9511,7 +9521,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -9539,7 +9549,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -9567,7 +9577,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -9581,7 +9591,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -9595,7 +9605,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -9609,7 +9619,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -9701,31 +9711,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -9770,6 +9755,31 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -9778,25 +9788,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -9837,6 +9836,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -9845,7 +9855,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018491", + "path": "/api/v2/log-streams/lst_0000000000018504", "body": "", "status": 204, "response": "", @@ -9855,7 +9865,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000018492", + "path": "/api/v2/log-streams/lst_0000000000018505", "body": "", "status": 204, "response": "", @@ -9941,7 +9951,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10009,7 +10019,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -10083,7 +10093,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -10148,11 +10158,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "path": "/api/v2/connections/con_isbl83K0EyW745Cg", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-06T09:58:58.884Z" + "deleted_at": "2024-11-07T10:03:32.014Z" }, "rawHeaders": [], "responseIsBinary": false @@ -10166,7 +10176,7 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ], "is_domain_connection": false, "options": { @@ -10184,7 +10194,7 @@ }, "status": 201, "response": { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -10211,8 +10221,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], "realms": [ "Username-Password-Authentication" @@ -10300,7 +10310,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10368,7 +10378,7 @@ "limit": 100, "connections": [ { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -10386,7 +10396,7 @@ "enabled_clients": [] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -10416,8 +10426,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -10437,7 +10447,7 @@ "limit": 100, "connections": [ { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -10455,7 +10465,7 @@ "enabled_clients": [] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -10485,8 +10495,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -10497,11 +10507,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "path": "/api/v2/connections/con_A4te7zSEQoMDxaQb", "body": "", "status": 202, "response": { - "deleted_at": "2024-11-06T09:59:01.429Z" + "deleted_at": "2024-11-07T10:03:33.800Z" }, "rawHeaders": [], "responseIsBinary": false @@ -10585,7 +10595,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10862,22 +10872,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -10892,7 +10902,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10907,7 +10917,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10922,7 +10932,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10937,7 +10947,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10952,7 +10962,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll", "body": "", "status": 200, "response": {}, @@ -10962,7 +10972,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3", "body": "", "status": 200, "response": {}, @@ -10972,7 +10982,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh", "body": "", "status": 200, "response": {}, @@ -10982,7 +10992,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q", "body": "", "status": 200, "response": {}, @@ -10998,7 +11008,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -11006,34 +11016,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:58:32.910416667Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:03:12.847471658Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", + "id": "60bb32e1-1573-4d52-b8b4-814f93669b3d", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 9, - "build_time": "2024-11-06T09:58:34.125543018Z", - "created_at": "2024-11-06T09:58:34.036705087Z", - "updated_at": "2024-11-06T09:58:34.127463983Z" + "number": 3, + "build_time": "2024-11-07T10:03:13.668897406Z", + "created_at": "2024-11-07T10:03:13.559000939Z", + "updated_at": "2024-11-07T10:03:13.670882153Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "326f9a2d-4185-48e3-b1c6-12eaab230850", + "id": "60bb32e1-1573-4d52-b8b4-814f93669b3d", "deployed": true, - "number": 9, - "built_at": "2024-11-06T09:58:34.125543018Z", + "number": 3, + "built_at": "2024-11-07T10:03:13.668897406Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T09:58:34.036705087Z", - "updated_at": "2024-11-06T09:58:34.127463983Z", + "created_at": "2024-11-07T10:03:13.559000939Z", + "updated_at": "2024-11-07T10:03:13.670882153Z", "runtime": "node16", "supported_triggers": [ { @@ -11054,7 +11064,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23?force=true", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0?force=true", "body": "", "status": 204, "response": "", @@ -11074,38 +11084,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_6pcbE8NjmLYMaNPk", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_PqrZQ4CbcMvRFBK2", - "name": "org2", - "display_name": "Organization2" - } - ], - "start": 0, - "limit": 100, - "total": 2 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -11185,7 +11163,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11244,7 +11222,39 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_98JjeO1GOLPTEzMw", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_sqjTOFGOVZmKWPsI", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 100, + "total": 2 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -11254,17 +11264,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -11274,10 +11289,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -11293,7 +11313,7 @@ "limit": 100, "connections": [ { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -11323,8 +11343,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -11623,7 +11643,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11682,7 +11702,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw", "body": "", "status": 204, "response": "", @@ -11692,7 +11712,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI", "body": "", "status": 204, "response": "", @@ -12806,7 +12826,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12839,7 +12859,7 @@ "limit": 100, "connections": [ { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -12869,8 +12889,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -12890,7 +12910,7 @@ "limit": 100, "connections": [ { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -12920,8 +12940,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -13018,17 +13038,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/change_password", "body": "", - "status": 200, + "status": 404, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -13036,7 +13053,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -13051,18 +13068,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/user_invitation", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -13070,7 +13083,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -13085,7 +13098,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -13100,7 +13113,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -13115,14 +13128,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -13130,7 +13147,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -13145,7 +13162,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -13160,7 +13177,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -13175,14 +13192,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/verify_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -13453,7 +13473,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", "body": "", "status": 200, "response": {}, @@ -13463,7 +13483,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, "response": {}, @@ -13645,7 +13665,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13655,7 +13675,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13675,7 +13695,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/signup/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13685,7 +13705,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13695,7 +13715,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13705,7 +13725,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13735,7 +13755,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13745,7 +13765,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13755,7 +13775,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13765,7 +13785,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13825,7 +13845,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13835,7 +13855,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13845,7 +13865,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13855,7 +13875,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13895,7 +13915,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -13905,7 +13925,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -13915,7 +13935,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -13983,6 +14003,18 @@ "status": 200, "response": { "triggers": [ + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-login", "version": "v3", @@ -14013,14 +14045,15 @@ "compatible_triggers": [] }, { - "id": "post-login", + "id": "credentials-exchange", "version": "v2", - "status": "DEPRECATED", + "status": "CURRENT", "runtimes": [ "node12", - "node16" + "node16", + "node18-actions" ], - "default_runtime": "node16", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -14035,19 +14068,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" - ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "pre-user-registration", "version": "v2", @@ -14072,17 +14092,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-user-registration", "version": "v2", @@ -14097,7 +14106,7 @@ "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "post-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -14120,6 +14129,17 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-change-password", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "send-phone-message", "version": "v1", @@ -14343,6 +14363,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -14422,7 +14457,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14478,21 +14513,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -14516,26 +14536,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -14543,18 +14555,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false diff --git a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json index 52f50137..fc53bdf5 100644 --- a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json +++ b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json @@ -42,7 +42,7 @@ }, "status": 201, "response": { - "id": "rul_leMju5CJAwJe3nkj", + "id": "rul_ANXcw440qOoeEht3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -1131,7 +1131,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1236,7 +1236,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1347,7 +1347,7 @@ } ], "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1437,7 +1437,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1516,7 +1516,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1539,9 +1539,15 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "The Default App", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1549,8 +1555,7 @@ "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" + "refresh_token" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -1567,28 +1572,35 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "sso": false, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] }, "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1600,17 +1612,16 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "encrypted": true, @@ -1622,7 +1633,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1631,12 +1642,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -1648,15 +1662,17 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], - "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, @@ -1674,16 +1690,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, @@ -1692,7 +1709,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1706,16 +1723,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "encrypted": true, @@ -1727,7 +1745,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1737,8 +1755,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1751,23 +1771,16 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "app_type": "spa", - "callbacks": [ - "http://localhost:3000" - ], + "app_type": "non_interactive", + "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" + "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -1786,33 +1799,25 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "none", - "web_origins": [ - "http://localhost:3000" - ] + "token_endpoint_auth_method": "client_secret_post" }, "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1826,13 +1831,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1845,7 +1850,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1854,15 +1859,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1923,7 +1923,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1937,7 +1937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1951,13 +1951,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1965,7 +1965,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -1979,7 +1979,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1993,13 +1993,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -2007,7 +2007,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -2185,33 +2185,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "type": "datadog" - }, - "status": 200, - "response": { - "id": "lst_0000000000018504", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", @@ -2264,14 +2237,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000018505", + "id": "lst_0000000000018536", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a295e235-1e5f-4e06-b2dd-94469edb676f/auth0.logs" }, "filters": [ { @@ -2316,6 +2289,33 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/log-streams", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "type": "datadog" + }, + "status": 200, + "response": { + "id": "lst_0000000000018537", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2395,7 +2395,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2448,7 +2448,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2468,21 +2468,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2502,8 +2493,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2511,28 +2501,35 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, @@ -2549,7 +2546,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2557,21 +2555,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2593,7 +2593,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2646,7 +2646,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2668,9 +2668,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2684,13 +2689,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2701,7 +2706,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2710,10 +2715,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -2721,14 +2731,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2742,13 +2747,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2759,7 +2764,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2768,15 +2773,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -2832,7 +2832,7 @@ "limit": 100, "connections": [ { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -2862,8 +2862,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -2883,7 +2883,7 @@ "limit": 100, "connections": [ { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -2913,8 +2913,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -2930,8 +2930,8 @@ "name": "boo-baz-db-connection-test", "strategy": "auth0", "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ], "is_domain_connection": false, "options": { @@ -2975,7 +2975,7 @@ }, "status": 201, "response": { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -3028,8 +3028,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ], "realms": [ "boo-baz-db-connection-test" @@ -3117,7 +3117,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3170,7 +3170,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3190,21 +3190,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3224,8 +3215,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3233,25 +3223,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3271,7 +3268,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3279,21 +3277,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3315,7 +3315,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3368,7 +3368,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3390,9 +3390,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3406,13 +3411,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3423,7 +3428,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3432,10 +3437,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3443,14 +3453,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3464,13 +3469,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3481,7 +3486,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3490,15 +3495,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3554,7 +3554,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -3610,12 +3610,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -3645,8 +3645,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -3666,7 +3666,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -3722,12 +3722,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -3757,8 +3757,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -3774,8 +3774,8 @@ "name": "google-oauth2", "strategy": "google-oauth2", "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ], "is_domain_connection": false, "options": { @@ -3789,7 +3789,7 @@ }, "status": 201, "response": { - "id": "con_A4te7zSEQoMDxaQb", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -3802,8 +3802,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ], "realms": [ "google-oauth2" @@ -3815,25 +3815,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -3841,27 +3843,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -3945,7 +3945,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3998,7 +3998,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4018,21 +4018,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4052,8 +4043,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4061,25 +4051,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -4099,7 +4096,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4107,21 +4105,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4143,7 +4143,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4196,7 +4196,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4218,9 +4218,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4234,13 +4239,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4251,7 +4256,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4260,10 +4265,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4271,14 +4281,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4292,13 +4297,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4309,7 +4314,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4318,15 +4323,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4587,7 +4587,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4724,8 +4724,8 @@ }, "status": 201, "response": { - "id": "cgr_V6CMP7ClGUswJBhB", - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4868,7 +4868,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5005,8 +5005,8 @@ }, "status": 201, "response": { - "id": "cgr_8IA0dLwj49O8P0R0", - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5169,7 +5169,7 @@ }, "status": 200, "response": { - "id": "rol_zKNIBuPjhxjGVlNh", + "id": "rol_VucPDNsmC49E1OCe", "name": "Reader", "description": "Can only read things" }, @@ -5186,7 +5186,7 @@ }, "status": 200, "response": { - "id": "rol_TRRzPxsQJyJTM3ll", + "id": "rol_UwW0xVAq4Df6F6tI", "name": "Admin", "description": "Can read and write things" }, @@ -5203,7 +5203,7 @@ }, "status": 200, "response": { - "id": "rol_YIcCCf9DuxYBLew3", + "id": "rol_Hgy6WgWIaceJ4YzE", "name": "read_only", "description": "Read Only" }, @@ -5220,7 +5220,7 @@ }, "status": 200, "response": { - "id": "rol_Vf5h2h0CTRtIKU5Q", + "id": "rol_IMHAwOaDJpqdiH2x", "name": "read_osnly", "description": "Readz Only" }, @@ -5259,7 +5259,7 @@ }, "status": 201, "response": { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -5267,8 +5267,8 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.244595022Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", @@ -5288,7 +5288,7 @@ "response": { "actions": [ { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -5296,8 +5296,8 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.244595022Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", @@ -5315,19 +5315,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0/deploy", + "path": "/api/v2/actions/actions/f921cc75-2b3b-4dd8-b1dd-d3c12f61df11/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "deployed": false, "number": 1, "secrets": [], "status": "built", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.291844970Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.485782961Z", "runtime": "node16", "supported_triggers": [ { @@ -5336,7 +5336,7 @@ } ], "action": { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -5344,29 +5344,14 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.236448055Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.823412691Z", "all_changes_deployed": false } }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -5446,7 +5431,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5499,7 +5484,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5519,21 +5504,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -5553,8 +5529,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5562,25 +5537,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -5600,7 +5582,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5608,21 +5591,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -5644,7 +5629,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5697,7 +5682,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5719,9 +5704,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -5735,13 +5725,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -5752,7 +5742,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5761,10 +5751,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5772,14 +5767,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -5793,13 +5783,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -5810,7 +5800,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5819,15 +5809,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -5874,19 +5859,34 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "path": "/api/v2/organizations?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 3, + "organizations": [], "start": 0, "limit": 100, - "connections": [ - { - "id": "con_isbl83K0EyW745Cg", - "options": { - "mfa": { - "active": true, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_Jd86qQK1FtuUb7xn", + "options": { + "mfa": { + "active": true, "return_enroll_settings": true }, "import_mode": false, @@ -5939,12 +5939,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_A4te7zSEQoMDxaQb", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -5960,12 +5960,12 @@ "google-oauth2" ], "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -5995,8 +5995,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -6007,519 +6007,75 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "total": 3, + "total": 10, "start": 0, "limit": 100, - "client_grants": [ + "clients": [ { - "id": "cgr_8IA0dLwj49O8P0R0", - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true }, - { - "id": "cgr_V6CMP7ClGUswJBhB", - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] - }, - { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "delete:sessions", - "read:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Default App", + "callbacks": [], + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "cross_origin_authentication": true, + "sso_disabled": false, + "cross_origin_authentication": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6527,7 +6083,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6535,9 +6091,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6546,18 +6103,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "API Explorer Application", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -6569,7 +6136,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6577,10 +6144,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6589,20 +6156,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -6622,7 +6181,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6630,7 +6189,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -6677,7 +6235,7 @@ } ], "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6723,7 +6281,7 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6742,22 +6300,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -6767,7 +6334,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6775,9 +6342,12 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6786,9 +6356,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6800,17 +6375,16 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -6820,7 +6394,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6829,12 +6403,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ "authorization_code", "implicit", - "refresh_token", - "client_credentials" + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -6875,7 +6452,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6893,124 +6470,530 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_auth": false, + "global": true, + "callbacks": [], "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, "token_lifetime": 2592000, "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_authentication": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] + }, + { + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ] }, { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" + ] } ] }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", - "body": { - "name": "org2", - "display_name": "Organization2" - }, - "status": 201, - "response": { - "id": "org_sqjTOFGOVZmKWPsI", - "display_name": "Organization2", - "name": "org2" - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", @@ -7027,15 +7010,32 @@ }, "status": 201, "response": { + "id": "org_U1GPowP5fHVuX9iS", + "display_name": "Organization", + "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", "primary": "#57ddff" } - }, - "id": "org_98JjeO1GOLPTEzMw", - "display_name": "Organization", - "name": "org1" + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/organizations", + "body": { + "name": "org2", + "display_name": "Organization2" + }, + "status": 201, + "response": { + "id": "org_TyQVczsJUGAC5u58", + "display_name": "Organization2", + "name": "org2" }, "rawHeaders": [], "responseIsBinary": false @@ -7154,7 +7154,7 @@ "limit": 100, "rules": [ { - "id": "rul_leMju5CJAwJe3nkj", + "id": "rul_ANXcw440qOoeEht3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -7178,7 +7178,7 @@ "limit": 100, "rules": [ { - "id": "rul_leMju5CJAwJe3nkj", + "id": "rul_ANXcw440qOoeEht3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -8088,7 +8088,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8141,7 +8141,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8161,21 +8161,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8195,8 +8186,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8204,25 +8194,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8242,7 +8239,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8250,21 +8248,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -8286,7 +8286,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8339,7 +8339,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8361,9 +8361,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8377,13 +8382,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8394,7 +8399,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8403,10 +8408,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -8414,14 +8424,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8435,13 +8440,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8452,7 +8457,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8461,15 +8466,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true } @@ -8481,7 +8481,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "path": "/api/v2/clients/SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "body": { "name": "Default App", "callbacks": [], @@ -8539,7 +8539,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8590,7 +8590,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -8604,7 +8604,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -8618,7 +8618,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -8632,7 +8632,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -8646,7 +8646,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -8674,7 +8674,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -8738,31 +8738,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -8835,6 +8810,31 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -8843,25 +8843,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018504", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018505", + "id": "lst_0000000000018536", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a295e235-1e5f-4e06-b2dd-94469edb676f/auth0.logs" }, "filters": [ { @@ -8902,6 +8891,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018537", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -8986,7 +8986,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9039,7 +9039,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9059,21 +9059,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" }, + "cross_origin_auth": false, + "is_first_party": true, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -9093,8 +9084,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9102,25 +9092,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -9140,7 +9137,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9148,21 +9146,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9184,7 +9184,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9237,7 +9237,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9259,9 +9259,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9275,13 +9280,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9292,7 +9297,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9301,10 +9306,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -9312,14 +9322,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9333,13 +9338,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9350,7 +9355,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9359,15 +9364,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9423,7 +9423,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -9479,12 +9479,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -9514,8 +9514,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -9535,7 +9535,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -9591,12 +9591,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -9626,8 +9626,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -9638,11 +9638,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", + "path": "/api/v2/connections/con_7tTU8dpv9keeCE5Q", "body": "", "status": 200, "response": { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -9669,8 +9669,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], "realms": [ "Username-Password-Authentication" @@ -9682,11 +9682,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", + "path": "/api/v2/connections/con_7tTU8dpv9keeCE5Q", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ], "is_domain_connection": false, "options": { @@ -9717,7 +9717,7 @@ }, "status": 200, "response": { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -9745,7 +9745,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ], "realms": [ "Username-Password-Authentication" @@ -9833,7 +9833,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9886,7 +9886,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9906,21 +9906,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -9940,8 +9931,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9949,25 +9939,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -9987,7 +9984,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9995,21 +9993,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -10031,7 +10031,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10084,7 +10084,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10106,9 +10106,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10122,13 +10127,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10139,7 +10144,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10148,10 +10153,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -10159,14 +10169,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10180,13 +10185,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10197,7 +10202,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10206,15 +10211,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -10270,7 +10270,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -10326,12 +10326,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_A4te7zSEQoMDxaQb", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -10347,12 +10347,12 @@ "google-oauth2" ], "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -10383,7 +10383,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -10403,7 +10403,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -10459,12 +10459,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_A4te7zSEQoMDxaQb", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -10480,12 +10480,12 @@ "google-oauth2" ], "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -10516,7 +10516,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -10603,7 +10603,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10656,7 +10656,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10676,21 +10676,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -10710,8 +10701,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10719,25 +10709,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -10757,7 +10754,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10765,21 +10763,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -10801,7 +10801,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10854,7 +10854,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10876,9 +10876,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10892,13 +10897,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10909,7 +10914,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10918,10 +10923,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -10929,14 +10939,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -10950,13 +10955,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -10967,7 +10972,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10976,15 +10981,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -11040,8 +11040,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_8IA0dLwj49O8P0R0", - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -11177,8 +11177,8 @@ ] }, { - "id": "cgr_V6CMP7ClGUswJBhB", - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -11523,22 +11523,22 @@ "response": { "roles": [ { - "id": "rol_TRRzPxsQJyJTM3ll", + "id": "rol_UwW0xVAq4Df6F6tI", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_zKNIBuPjhxjGVlNh", + "id": "rol_VucPDNsmC49E1OCe", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_YIcCCf9DuxYBLew3", + "id": "rol_Hgy6WgWIaceJ4YzE", "name": "read_only", "description": "Read Only" }, { - "id": "rol_Vf5h2h0CTRtIKU5Q", + "id": "rol_IMHAwOaDJpqdiH2x", "name": "read_osnly", "description": "Readz Only" } @@ -11553,7 +11553,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_UwW0xVAq4Df6F6tI/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -11568,7 +11568,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VucPDNsmC49E1OCe/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -11583,7 +11583,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Hgy6WgWIaceJ4YzE/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -11598,7 +11598,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_IMHAwOaDJpqdiH2x/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -11619,7 +11619,7 @@ "response": { "actions": [ { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -11627,34 +11627,34 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.244595022Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", "number": 1, - "build_time": "2024-11-06T10:00:18.365589550Z", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z" + "build_time": "2024-11-07T10:04:43.564446766Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "deployed": true, "number": 1, - "built_at": "2024-11-06T10:00:18.365589550Z", + "built_at": "2024-11-07T10:04:43.564446766Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z", "runtime": "node16", "supported_triggers": [ { @@ -11681,7 +11681,7 @@ "response": { "actions": [ { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -11689,34 +11689,34 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.244595022Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", "number": 1, - "build_time": "2024-11-06T10:00:18.365589550Z", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z" + "build_time": "2024-11-07T10:04:43.564446766Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "deployed": true, "number": 1, - "built_at": "2024-11-06T10:00:18.365589550Z", + "built_at": "2024-11-07T10:04:43.564446766Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z", "runtime": "node16", "supported_triggers": [ { @@ -11743,7 +11743,7 @@ "response": { "organizations": [ { - "id": "org_98JjeO1GOLPTEzMw", + "id": "org_U1GPowP5fHVuX9iS", "name": "org1", "display_name": "Organization", "branding": { @@ -11754,7 +11754,7 @@ } }, { - "id": "org_sqjTOFGOVZmKWPsI", + "id": "org_TyQVczsJUGAC5u58", "name": "org2", "display_name": "Organization2" } @@ -11845,7 +11845,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11898,7 +11898,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11918,21 +11918,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11952,8 +11943,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11961,25 +11951,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11999,7 +11996,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12007,21 +12005,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -12043,7 +12043,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12096,7 +12096,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12118,9 +12118,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12134,13 +12139,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12151,7 +12156,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12160,10 +12165,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -12171,14 +12181,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12192,13 +12197,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12209,7 +12214,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12218,15 +12223,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -12273,7 +12273,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/enabled_connections", "body": "", "status": 200, "response": [], @@ -12283,17 +12283,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/enabled_connections", "body": "", "status": 200, "response": [], @@ -12303,10 +12308,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -12322,7 +12332,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -12369,73 +12379,559 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true + "enabledDatabaseCustomization": true + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" + ] + }, + { + "id": "con_SSAQuf1eAS4HALWp", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" + ] + }, + { + "id": "con_7tTU8dpv9keeCE5Q", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true }, "strategy": "auth0", - "name": "boo-baz-db-connection-test", + "name": "Username-Password-Authentication", "is_domain_connection": false, "realms": [ - "boo-baz-db-connection-test" + "Username-Password-Authentication" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_A4te7zSEQoMDxaQb", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ] }, { - "id": "con_WFP0F318RCvc1yPr", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "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:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "delete:sessions", + "read:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants" ] } ] @@ -12503,257 +12999,7 @@ "callbacks": [], "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_authentication": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -12763,7 +13009,6 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -12773,7 +13018,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12781,8 +13026,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -12795,7 +13038,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "API Explorer Application", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -12828,7 +13071,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12848,34 +13091,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12886,7 +13116,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12894,539 +13124,319 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", - "global": true, + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "client_grants": [ - { - "id": "cgr_8IA0dLwj49O8P0R0", - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true }, { - "id": "cgr_V6CMP7ClGUswJBhB", - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true }, { - "id": "cgr_t3j1isctGZmOVylt", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "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:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "delete:sessions", - "read:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants" - ] + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -13522,7 +13532,7 @@ "limit": 100, "rules": [ { - "id": "rul_leMju5CJAwJe3nkj", + "id": "rul_ANXcw440qOoeEht3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -14549,7 +14559,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14602,7 +14612,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14622,21 +14632,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -14656,8 +14657,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14665,25 +14665,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -14703,7 +14710,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14711,21 +14719,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -14747,7 +14757,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14800,7 +14810,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14822,9 +14832,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -14838,13 +14853,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -14855,7 +14870,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14864,10 +14879,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -14875,14 +14895,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -14896,13 +14911,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -14913,7 +14928,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14922,15 +14937,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true } @@ -14951,7 +14961,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -15007,12 +15017,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -15043,7 +15053,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -15063,7 +15073,7 @@ "limit": 100, "connections": [ { - "id": "con_isbl83K0EyW745Cg", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -15119,12 +15129,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_A4te7zSEQoMDxaQb", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -15140,12 +15150,12 @@ "google-oauth2" ], "enabled_clients": [ - "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", - "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" ] }, { - "id": "con_WFP0F318RCvc1yPr", + "id": "con_7tTU8dpv9keeCE5Q", "options": { "mfa": { "active": true, @@ -15176,7 +15186,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -15291,7 +15301,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -15306,7 +15316,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -15321,18 +15331,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -15340,7 +15346,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -15355,7 +15361,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -15370,7 +15376,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -15385,7 +15391,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -15400,14 +15406,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -15415,7 +15425,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -15430,7 +15440,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -15454,8 +15464,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_8IA0dLwj49O8P0R0", - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -15591,8 +15601,8 @@ ] }, { - "id": "cgr_V6CMP7ClGUswJBhB", - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -16055,22 +16065,22 @@ "response": { "roles": [ { - "id": "rol_TRRzPxsQJyJTM3ll", + "id": "rol_UwW0xVAq4Df6F6tI", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_zKNIBuPjhxjGVlNh", + "id": "rol_VucPDNsmC49E1OCe", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_YIcCCf9DuxYBLew3", + "id": "rol_Hgy6WgWIaceJ4YzE", "name": "read_only", "description": "Read Only" }, { - "id": "rol_Vf5h2h0CTRtIKU5Q", + "id": "rol_IMHAwOaDJpqdiH2x", "name": "read_osnly", "description": "Readz Only" } @@ -16085,7 +16095,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_UwW0xVAq4Df6F6tI/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -16100,7 +16110,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VucPDNsmC49E1OCe/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -16115,7 +16125,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Hgy6WgWIaceJ4YzE/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -16130,7 +16140,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_IMHAwOaDJpqdiH2x/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -16275,7 +16285,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16285,7 +16295,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16305,7 +16315,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16315,7 +16325,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16325,7 +16335,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16345,7 +16355,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16355,7 +16365,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16415,7 +16425,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16435,7 +16445,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16515,7 +16525,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -16525,7 +16535,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -16535,7 +16545,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -16545,7 +16555,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -16555,7 +16565,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -16581,7 +16591,7 @@ "response": { "actions": [ { - "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -16589,34 +16599,34 @@ "version": "v2" } ], - "created_at": "2024-11-06T10:00:17.236448055Z", - "updated_at": "2024-11-06T10:00:17.244595022Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", "number": 1, - "build_time": "2024-11-06T10:00:18.365589550Z", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z" + "build_time": "2024-11-07T10:04:43.564446766Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "deployed": true, "number": 1, - "built_at": "2024-11-06T10:00:18.365589550Z", + "built_at": "2024-11-07T10:04:43.564446766Z", "secrets": [], "status": "built", - "created_at": "2024-11-06T10:00:18.291844970Z", - "updated_at": "2024-11-06T10:00:18.366539345Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z", "runtime": "node16", "supported_triggers": [ { @@ -16685,25 +16695,25 @@ }, { "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -16731,17 +16741,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-user-registration", "version": "v2", @@ -16756,7 +16755,7 @@ "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "post-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -16779,6 +16778,17 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-change-password", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "send-phone-message", "version": "v2", @@ -17011,7 +17021,7 @@ "response": { "organizations": [ { - "id": "org_98JjeO1GOLPTEzMw", + "id": "org_U1GPowP5fHVuX9iS", "name": "org1", "display_name": "Organization", "branding": { @@ -17022,7 +17032,7 @@ } }, { - "id": "org_sqjTOFGOVZmKWPsI", + "id": "org_TyQVczsJUGAC5u58", "name": "org2", "display_name": "Organization2" } @@ -17113,7 +17123,7 @@ "subject": "deprecated" } ], - "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17166,7 +17176,7 @@ "subject": "deprecated" } ], - "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17186,21 +17196,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -17220,8 +17221,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17229,25 +17229,32 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -17267,7 +17274,8 @@ "subject": "deprecated" } ], - "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17275,21 +17283,23 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -17311,7 +17321,7 @@ "subject": "deprecated" } ], - "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17364,7 +17374,7 @@ "subject": "deprecated" } ], - "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17386,9 +17396,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -17402,13 +17417,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -17419,7 +17434,7 @@ "subject": "deprecated" } ], - "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17428,10 +17443,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -17439,14 +17459,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -17460,13 +17475,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -17477,7 +17492,7 @@ "subject": "deprecated" } ], - "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17486,15 +17501,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -17541,7 +17551,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/enabled_connections", "body": "", "status": 200, "response": [], @@ -17551,17 +17561,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/enabled_connections", "body": "", "status": 200, "response": [], @@ -17571,10 +17586,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -17601,26 +17621,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -17628,18 +17640,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -17652,25 +17672,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018504", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018505", + "id": "lst_0000000000018536", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a295e235-1e5f-4e06-b2dd-94469edb676f/auth0.logs" }, "filters": [ { @@ -17711,6 +17720,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018537", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], diff --git a/test/e2e/recordings/should-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-deploy-without-throwing-an-error.json index 614f9da7..f21f3cd8 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -867,7 +867,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -920,7 +920,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -975,7 +975,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -999,10 +999,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1024,7 +1021,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1043,7 +1040,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1065,7 +1065,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1118,7 +1118,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1140,14 +1140,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1161,13 +1156,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1178,7 +1173,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1187,15 +1182,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1203,9 +1193,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1219,13 +1214,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1236,7 +1231,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1245,10 +1240,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -1260,7 +1260,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "path": "/api/v2/clients/gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "body": { "name": "Default App", "callbacks": [], @@ -1318,7 +1318,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1369,7 +1369,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -1383,7 +1383,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1397,7 +1397,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -1411,7 +1411,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -1425,7 +1425,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1439,7 +1439,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -1453,7 +1453,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1561,6 +1561,31 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -1589,31 +1614,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -1622,25 +1622,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -1681,6 +1670,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -1775,7 +1775,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1828,7 +1828,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1883,7 +1883,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1907,10 +1907,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1932,7 +1929,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1951,7 +1948,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1973,7 +1973,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2026,7 +2026,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2048,14 +2048,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2069,13 +2064,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2086,7 +2081,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2095,15 +2090,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -2111,9 +2101,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2127,13 +2122,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2144,7 +2139,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2153,10 +2148,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -2212,7 +2212,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -2268,12 +2268,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -2304,7 +2304,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -2324,7 +2324,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -2380,12 +2380,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -2416,7 +2416,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -2427,11 +2427,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": "", "status": 200, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -2459,7 +2459,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "Username-Password-Authentication" @@ -2471,11 +2471,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "is_domain_connection": false, "options": { @@ -2506,7 +2506,7 @@ }, "status": 200, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -2534,7 +2534,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "Username-Password-Authentication" @@ -2622,7 +2622,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2675,7 +2675,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2730,7 +2730,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2754,10 +2754,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2779,7 +2776,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2798,7 +2795,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2820,7 +2820,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2873,7 +2873,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2895,14 +2895,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2916,13 +2911,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2933,7 +2928,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2942,15 +2937,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -2958,9 +2948,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -2974,13 +2969,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -2991,7 +2986,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3000,10 +2995,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3059,7 +3059,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3115,12 +3115,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -3136,12 +3136,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3172,7 +3172,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -3192,7 +3192,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -3248,12 +3248,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -3269,12 +3269,12 @@ "google-oauth2" ], "enabled_clients": [ - "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -3305,7 +3305,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -3316,11 +3316,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "path": "/api/v2/connections/con_A4te7zSEQoMDxaQb", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "is_domain_connection": false, "options": { @@ -3334,7 +3334,7 @@ }, "status": 200, "response": { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -3348,7 +3348,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ "google-oauth2" @@ -3436,7 +3436,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3489,7 +3489,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3544,7 +3544,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3568,10 +3568,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3593,7 +3590,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3612,7 +3609,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3634,7 +3634,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3687,7 +3687,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3709,14 +3709,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3730,13 +3725,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3747,7 +3742,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3756,15 +3751,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3772,9 +3762,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3788,13 +3783,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3805,7 +3800,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3814,10 +3809,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3873,8 +3873,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4010,8 +4010,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4356,22 +4356,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -4386,7 +4386,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4401,7 +4401,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4416,7 +4416,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4431,7 +4431,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -4452,7 +4452,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -4460,34 +4460,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.140289063Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 2, + "build_time": "2024-11-07T10:00:22.949587433Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 2, + "built_at": "2024-11-07T10:00:22.949587433Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z", "runtime": "node16", "supported_triggers": [ { @@ -4514,7 +4514,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -4522,34 +4522,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.140289063Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 2, + "build_time": "2024-11-07T10:00:22.949587433Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 2, + "built_at": "2024-11-07T10:00:22.949587433Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.951905242Z", "runtime": "node16", "supported_triggers": [ { @@ -4576,7 +4576,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -4587,7 +4587,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -4678,7 +4678,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4731,7 +4731,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4786,7 +4786,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4810,10 +4810,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4835,7 +4832,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4854,7 +4851,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -4876,7 +4876,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4929,7 +4929,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4951,14 +4951,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -4972,13 +4967,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -4989,7 +4984,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4998,15 +4993,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -5014,9 +5004,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -5030,13 +5025,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -5047,7 +5042,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5056,10 +5051,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5106,7 +5106,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -5116,17 +5116,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -5136,10 +5141,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -5155,7 +5165,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -5211,12 +5221,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -5233,11 +5243,11 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -5268,7 +5278,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -5288,8 +5298,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5425,8 +5435,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5841,7 +5851,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5894,7 +5904,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5949,7 +5959,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5973,10 +5983,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -5998,7 +6005,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6017,7 +6024,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6039,7 +6049,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6092,7 +6102,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6114,14 +6124,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6135,13 +6140,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6152,7 +6157,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6161,15 +6166,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -6177,9 +6177,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -6193,13 +6198,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -6210,7 +6215,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6219,10 +6224,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, diff --git a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json index ef8adc8c..bd5950ef 100644 --- a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -1038,7 +1038,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1091,7 +1091,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1146,7 +1146,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1170,10 +1170,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1195,7 +1192,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1214,7 +1211,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1236,7 +1236,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1289,7 +1289,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1311,14 +1311,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1332,13 +1327,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1349,7 +1344,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1358,15 +1353,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1374,9 +1364,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1390,13 +1385,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -1407,7 +1402,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1416,10 +1411,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -1440,7 +1440,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -1496,12 +1496,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -1532,7 +1532,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -1552,7 +1552,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -1608,12 +1608,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -1629,12 +1629,12 @@ "google-oauth2" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -1665,7 +1665,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -1780,7 +1780,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -1810,14 +1810,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1825,7 +1829,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -1840,18 +1844,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", - "status": 200, + "status": 404, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -1859,7 +1859,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -1874,7 +1874,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -1889,7 +1889,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -1904,7 +1904,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -1919,7 +1919,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -1943,8 +1943,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2080,8 +2080,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2544,22 +2544,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -2574,7 +2574,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2589,7 +2589,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2604,7 +2604,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2619,7 +2619,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2744,7 +2744,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2754,7 +2754,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2764,7 +2764,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2784,7 +2784,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2834,7 +2834,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2844,7 +2844,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2854,7 +2854,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2884,7 +2884,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2894,7 +2894,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2914,7 +2914,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2924,7 +2924,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3004,7 +3004,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -3014,7 +3014,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -3024,7 +3024,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -3034,7 +3034,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -3044,7 +3044,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -3070,7 +3070,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -3078,34 +3078,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -3131,29 +3131,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, - { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" - ], - "default_runtime": "node16", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v3", @@ -3173,31 +3150,30 @@ ] }, { - "id": "credentials-exchange", - "version": "v1", + "id": "post-login", + "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node12" + "node12", + "node16" ], - "default_runtime": "node12", + "default_runtime": "node16", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "credentials-exchange", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -3210,7 +3186,7 @@ "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "credentials-exchange", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -3221,7 +3197,7 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", + "id": "pre-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -3232,7 +3208,7 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", + "id": "pre-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -3245,7 +3221,7 @@ "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "post-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ @@ -3257,6 +3233,17 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-change-password", "version": "v1", @@ -3268,6 +3255,19 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-change-password", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node12", + "node16", + "node18-actions" + ], + "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "send-phone-message", "version": "v2", @@ -3500,7 +3500,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -3511,7 +3511,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -3602,7 +3602,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3655,7 +3655,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3710,7 +3710,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3734,10 +3734,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3759,7 +3756,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3778,7 +3775,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3800,7 +3800,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3853,7 +3853,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3875,14 +3875,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3896,13 +3891,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3913,7 +3908,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3922,15 +3917,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3938,9 +3928,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -3954,13 +3949,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -3971,7 +3966,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3980,10 +3975,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4030,17 +4030,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -4050,17 +4040,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -4070,19 +4065,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -4106,6 +4096,26 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": "", + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4141,25 +4151,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -4200,6 +4199,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -4242,7 +4252,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -4266,7 +4276,7 @@ "limit": 100, "rules": [ { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -4281,7 +4291,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/rules/rul_ONfKpNKvvGFHPEPA", + "path": "/api/v2/rules/rul_leMju5CJAwJe3nkj", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", @@ -4290,7 +4300,7 @@ }, "status": 200, "response": { - "id": "rul_ONfKpNKvvGFHPEPA", + "id": "rul_leMju5CJAwJe3nkj", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5379,7 +5389,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5432,7 +5442,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5487,7 +5497,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5511,10 +5521,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -5536,7 +5543,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5555,7 +5562,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -5577,7 +5587,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5630,7 +5640,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5652,14 +5662,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -5673,13 +5678,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -5690,7 +5695,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5699,15 +5704,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -5715,9 +5715,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -5731,13 +5736,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -5748,7 +5753,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5757,10 +5762,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -5772,7 +5782,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "path": "/api/v2/clients/qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "body": { "name": "API Explorer Application", "allowed_clients": [], @@ -5851,7 +5861,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5873,16 +5883,10 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "path": "/api/v2/clients/gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "body": { - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", + "name": "Default App", "callbacks": [], - "client_aliases": [], - "client_metadata": {}, "cross_origin_auth": false, "cross_origin_authentication": false, "custom_login_page_on": true, @@ -5898,56 +5902,35 @@ "alg": "RS256", "lifetime_in_seconds": 36000 }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] + "sso_disabled": false }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -5959,8 +5942,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5968,16 +5950,12 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -5986,10 +5964,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "path": "/api/v2/clients/6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "body": { - "name": "Default App", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", "callbacks": [], + "client_aliases": [], + "client_metadata": {}, "cross_origin_auth": false, "cross_origin_authentication": false, "custom_login_page_on": true, @@ -6005,35 +5989,56 @@ "alg": "RS256", "lifetime_in_seconds": 36000 }, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, - "sso_disabled": false + "sso_disabled": false, + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -6045,7 +6050,8 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "allowed_origins": [], + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6053,12 +6059,16 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, "rawHeaders": [], @@ -6067,7 +6077,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "path": "/api/v2/clients/TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "body": { "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", @@ -6129,7 +6139,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6150,7 +6160,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "path": "/api/v2/clients/JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "body": { "name": "Terraform Provider", "app_type": "non_interactive", @@ -6206,7 +6216,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6227,7 +6237,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/kCI3yfixVSjvMto9BL4j33stKdOttSql", + "path": "/api/v2/clients/jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "body": { "name": "Test SPA", "allowed_clients": [], @@ -6321,7 +6331,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6348,10 +6358,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "path": "/api/v2/clients/KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "body": { - "name": "The Default App", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], + "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, @@ -6359,9 +6370,6 @@ "cross_origin_authentication": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, @@ -6378,17 +6386,16 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, @@ -6397,7 +6404,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -6411,17 +6418,16 @@ "enabled": false } }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -6431,7 +6437,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6441,10 +6447,8 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6455,11 +6459,10 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "path": "/api/v2/clients/CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "body": { - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], - "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, @@ -6467,6 +6470,9 @@ "cross_origin_authentication": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, @@ -6483,16 +6489,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, @@ -6501,7 +6508,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -6515,16 +6522,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -6534,7 +6542,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6544,8 +6552,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6607,7 +6617,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -6621,7 +6631,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -6635,7 +6645,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -6649,7 +6659,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -6663,7 +6673,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -6677,7 +6687,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -6691,7 +6701,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -6772,6 +6782,50 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -6830,50 +6884,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -6882,25 +6892,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018491", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -6941,6 +6940,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018504", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [], @@ -6949,7 +6959,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018491", + "path": "/api/v2/log-streams/lst_0000000000018504", "body": { "name": "Suspended DD Log Stream", "isPriority": false, @@ -6960,7 +6970,7 @@ }, "status": 200, "response": { - "id": "lst_0000000000018491", + "id": "lst_0000000000018504", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -6976,7 +6986,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000018492", + "path": "/api/v2/log-streams/lst_0000000000018505", "body": { "name": "Amazon EventBridge", "filters": [ @@ -7022,14 +7032,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000018492", + "id": "lst_0000000000018505", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c5ab43d7-26d3-4530-bac2-f921fdeca5b3/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-f468b793-c845-418d-b2fc-a2c38a604a73/auth0.logs" }, "filters": [ { @@ -7163,7 +7173,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7216,7 +7226,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7271,7 +7281,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7295,10 +7305,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7320,7 +7327,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7339,7 +7346,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7361,7 +7371,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7414,7 +7424,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7436,14 +7446,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7457,13 +7462,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7474,7 +7479,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7483,15 +7488,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7499,9 +7499,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -7515,13 +7520,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -7532,7 +7537,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7541,10 +7546,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7600,7 +7610,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -7656,12 +7666,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -7692,7 +7702,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -7712,7 +7722,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -7768,12 +7778,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -7804,7 +7814,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -7815,23 +7825,42 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", + "path": "/api/v2/connections/con_isbl83K0EyW745Cg", "body": "", "status": 200, "response": { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "good", + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, + "password_history": { + "size": 5, + "enable": false + }, "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, "authentication_methods": { "passkey": { "enabled": false @@ -7840,17 +7869,24 @@ "enabled": true } }, - "brute_force_protection": true + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, "strategy": "auth0", - "name": "Username-Password-Authentication", + "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" ] }, "rawHeaders": [], @@ -7858,14 +7894,12 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_TwowA0bsutc7ko0Z", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" - ], - "is_domain_connection": false, + "method": "GET", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", + "body": "", + "status": 200, + "response": { + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -7888,25 +7922,61 @@ }, "brute_force_protection": true }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" + ], "realms": [ "Username-Password-Authentication" ] }, - "status": 200, - "response": { - "id": "con_TwowA0bsutc7ko0Z", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_isbl83K0EyW745Cg", + "body": { + "enabled_clients": [ + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" + ], + "is_domain_connection": false, "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "good", + "import_mode": false, + "customScripts": { + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, + "password_history": { + "size": 5, + "enable": false + }, "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, "authentication_methods": { "passkey": { "enabled": false @@ -7915,30 +7985,22 @@ "enabled": true } }, - "brute_force_protection": true + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" - ], "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" ] }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", - "body": "", "status": 200, "response": { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -7991,8 +8053,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "boo-baz-db-connection-test" @@ -8004,11 +8066,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_xwVqJPyxAvsMfHL1", + "path": "/api/v2/connections/con_WFP0F318RCvc1yPr", "body": { "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "is_domain_connection": false, "options": { @@ -8016,32 +8078,13 @@ "active": true, "return_enroll_settings": true }, - "import_mode": false, - "customScripts": { - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", + "passwordPolicy": "good", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, - "password_history": { - "size": 5, - "enable": false - }, "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, "authentication_methods": { "passkey": { "enabled": false @@ -8050,53 +8093,27 @@ "enabled": true } }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "brute_force_protection": true }, "realms": [ - "boo-baz-db-connection-test" + "Username-Password-Authentication" ] }, "status": 200, "response": { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", + "passwordPolicy": "good", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, - "password_history": { - "size": 5, - "enable": false - }, "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, "authentication_methods": { "passkey": { "enabled": false @@ -8105,24 +8122,17 @@ "enabled": true } }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "brute_force_protection": true }, "strategy": "auth0", - "name": "boo-baz-db-connection-test", + "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ], "realms": [ - "boo-baz-db-connection-test" + "Username-Password-Authentication" ] }, "rawHeaders": [], @@ -8207,7 +8217,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8260,7 +8270,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8315,7 +8325,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8339,10 +8349,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -8364,7 +8371,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8383,7 +8390,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -8405,7 +8415,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8458,7 +8468,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8480,14 +8490,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8501,13 +8506,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8518,7 +8523,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8527,15 +8532,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -8543,9 +8543,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -8559,13 +8564,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -8576,7 +8581,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8585,10 +8590,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -8644,7 +8654,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -8700,12 +8710,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -8721,12 +8731,12 @@ "google-oauth2" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -8757,7 +8767,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -8777,7 +8787,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -8833,12 +8843,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -8854,12 +8864,12 @@ "google-oauth2" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -8890,7 +8900,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -8901,11 +8911,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_eaD9x7dXNhWAvMQD", + "path": "/api/v2/connections/con_A4te7zSEQoMDxaQb", "body": { "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "is_domain_connection": false, "options": { @@ -8919,7 +8929,7 @@ }, "status": 200, "response": { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -8932,8 +8942,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ], "realms": [ "google-oauth2" @@ -9075,7 +9085,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9128,7 +9138,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9183,7 +9193,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9207,10 +9217,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9232,7 +9239,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9251,7 +9258,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -9273,7 +9283,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9326,7 +9336,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9348,14 +9358,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9369,13 +9374,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9386,7 +9391,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9395,15 +9400,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9411,9 +9411,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -9427,13 +9432,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -9444,7 +9449,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9453,10 +9458,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -9512,8 +9522,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9649,8 +9659,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9989,7 +9999,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_7Ip31aptKJ7oLzd0", + "path": "/api/v2/client-grants/cgr_8IA0dLwj49O8P0R0", "body": { "scope": [ "read:client_grants", @@ -10126,8 +10136,8 @@ }, "status": 200, "response": { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -10268,7 +10278,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_SJh7osTTnNEBmnR5", + "path": "/api/v2/client-grants/cgr_V6CMP7ClGUswJBhB", "body": { "scope": [ "read:client_grants", @@ -10405,8 +10415,8 @@ }, "status": 200, "response": { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -10553,22 +10563,22 @@ "response": { "roles": [ { - "id": "rol_XL2Vm5aw2TTxbBTK", + "id": "rol_TRRzPxsQJyJTM3ll", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_VPswP8pd5HvHwSiO", + "id": "rol_zKNIBuPjhxjGVlNh", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" } @@ -10583,7 +10593,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10598,7 +10608,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10613,7 +10623,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10628,7 +10638,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -10643,16 +10653,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_VPswP8pd5HvHwSiO", + "path": "/api/v2/roles/rol_TRRzPxsQJyJTM3ll", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_VPswP8pd5HvHwSiO", - "name": "Reader", - "description": "Can only read things" + "id": "rol_TRRzPxsQJyJTM3ll", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false @@ -10660,16 +10670,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_XL2Vm5aw2TTxbBTK", + "path": "/api/v2/roles/rol_zKNIBuPjhxjGVlNh", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_XL2Vm5aw2TTxbBTK", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_zKNIBuPjhxjGVlNh", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false @@ -10677,14 +10687,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_dhIF1pCAP1ld2Zot", + "path": "/api/v2/roles/rol_YIcCCf9DuxYBLew3", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_dhIF1pCAP1ld2Zot", + "id": "rol_YIcCCf9DuxYBLew3", "name": "read_only", "description": "Read Only" }, @@ -10694,14 +10704,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_sRU37NBK33W1J2mR", + "path": "/api/v2/roles/rol_Vf5h2h0CTRtIKU5Q", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_sRU37NBK33W1J2mR", + "id": "rol_Vf5h2h0CTRtIKU5Q", "name": "read_osnly", "description": "Readz Only" }, @@ -10717,7 +10727,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -10725,34 +10735,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-05T06:28:49.401600997Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-06T10:00:17.244595022Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -10773,7 +10783,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -10789,7 +10799,7 @@ }, "status": 200, "response": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -10797,34 +10807,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:57:46.739928192Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.140289063Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "pending", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -10847,7 +10857,7 @@ "response": { "actions": [ { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -10855,34 +10865,34 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:57:46.739928192Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.140289063Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 7, - "build_time": "2024-11-05T06:28:50.645638174Z", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z" + "number": 1, + "build_time": "2024-11-06T10:00:18.365589550Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "48206b41-aeca-48be-b2ea-2a86d770cff8", + "id": "45d98b10-ff5c-4d5f-8859-daf38b7fe20e", "deployed": true, - "number": 7, - "built_at": "2024-11-05T06:28:50.645638174Z", + "number": 1, + "built_at": "2024-11-06T10:00:18.365589550Z", "secrets": [], "status": "built", - "created_at": "2024-11-05T06:28:50.595889802Z", - "updated_at": "2024-11-05T06:28:50.646209815Z", + "created_at": "2024-11-06T10:00:18.291844970Z", + "updated_at": "2024-11-06T10:00:18.366539345Z", "runtime": "node16", "supported_triggers": [ { @@ -10903,19 +10913,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/979f7a7d-cc15-482a-a2de-690dfe058c23/deploy", + "path": "/api/v2/actions/actions/e8d56dc9-de98-4c0c-8b8a-456807f63fb0/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "91578e3b-9fd9-4d87-838b-ec4b3103c75f", + "id": "521210bf-7642-49f4-8b8f-0dd1d6176633", "deployed": false, - "number": 8, + "number": 2, "secrets": [], "status": "built", - "created_at": "2024-11-06T09:57:47.761926799Z", - "updated_at": "2024-11-06T09:57:47.761926799Z", + "created_at": "2024-11-07T10:00:22.876554394Z", + "updated_at": "2024-11-07T10:00:22.876554394Z", "runtime": "node16", "supported_triggers": [ { @@ -10924,7 +10934,7 @@ } ], "action": { - "id": "979f7a7d-cc15-482a-a2de-690dfe058c23", + "id": "e8d56dc9-de98-4c0c-8b8a-456807f63fb0", "name": "My Custom Action", "supported_triggers": [ { @@ -10932,8 +10942,8 @@ "version": "v2" } ], - "created_at": "2024-11-05T06:11:12.371764926Z", - "updated_at": "2024-11-06T09:57:46.732394686Z", + "created_at": "2024-11-06T10:00:17.236448055Z", + "updated_at": "2024-11-07T10:00:22.133322997Z", "all_changes_deployed": false } }, @@ -10971,7 +10981,7 @@ "response": { "organizations": [ { - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "name": "org1", "display_name": "Organization", "branding": { @@ -10982,7 +10992,7 @@ } }, { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "name": "org2", "display_name": "Organization2" } @@ -11073,7 +11083,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11126,7 +11136,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11181,7 +11191,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11205,10 +11215,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11230,7 +11237,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11249,7 +11256,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11271,7 +11281,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11324,7 +11334,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11346,14 +11356,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -11367,13 +11372,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -11384,7 +11389,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11393,15 +11398,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -11409,9 +11409,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -11425,13 +11430,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -11442,7 +11447,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11451,10 +11456,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -11501,7 +11511,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/enabled_connections", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/enabled_connections", "body": "", "status": 200, "response": [], @@ -11511,17 +11521,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk/client-grants", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/enabled_connections", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/enabled_connections", "body": "", "status": 200, "response": [], @@ -11531,10 +11546,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2/client-grants", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -11550,7 +11570,7 @@ "limit": 100, "connections": [ { - "id": "con_xwVqJPyxAvsMfHL1", + "id": "con_isbl83K0EyW745Cg", "options": { "mfa": { "active": true, @@ -11606,12 +11626,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", - "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT" + "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_eaD9x7dXNhWAvMQD", + "id": "con_A4te7zSEQoMDxaQb", "options": { "email": true, "scope": [ @@ -11627,12 +11647,12 @@ "google-oauth2" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", + "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT" ] }, { - "id": "con_TwowA0bsutc7ko0Z", + "id": "con_WFP0F318RCvc1yPr", "options": { "mfa": { "active": true, @@ -11663,7 +11683,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi" + "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt" ] } ] @@ -11683,8 +11703,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_7Ip31aptKJ7oLzd0", - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "id": "cgr_8IA0dLwj49O8P0R0", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -11820,8 +11840,8 @@ ] }, { - "id": "cgr_SJh7osTTnNEBmnR5", - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "id": "cgr_V6CMP7ClGUswJBhB", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12236,7 +12256,7 @@ "subject": "deprecated" } ], - "client_id": "UkqrvzFlqNqTt7nLxwbu9W23CYZsUrUi", + "client_id": "gVLyGUp8m5rbJEyg2WXrIJhgBv6IBeWt", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12289,7 +12309,7 @@ "subject": "deprecated" } ], - "client_id": "RkYKLjQOzbwJaHnr0XswiD15oc6KA0Fj", + "client_id": "qvbRDjvoY3UHtL8smDFsIUkXcXPdYH9z", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12344,7 +12364,7 @@ } ], "allowed_origins": [], - "client_id": "P1JcTqtcpWCXba3GSUy85wLdAoU22zJT", + "client_id": "6uVrKPOcApXZhqctgh1okdga1j0Mz8fb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12368,10 +12388,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -12393,7 +12410,7 @@ "subject": "deprecated" } ], - "client_id": "NVIlWZRaDD59okR8XFKd9om7GEE6FhFY", + "client_id": "JGTGEp0jKnBbmGLbswhTdRfeTkIOAV6X", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12412,7 +12429,10 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -12434,7 +12454,7 @@ "subject": "deprecated" } ], - "client_id": "7Y5Dpnc4TAiFcIwN33iLW3fQJllve361", + "client_id": "TBZ7R0GxnAgvbT2ky1kqq79ScKqsnYcq", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12487,7 +12507,7 @@ "subject": "deprecated" } ], - "client_id": "7GP25oHOJ8706Mp75aMTBx0NxggylRrZ", + "client_id": "CNCX1hYdRY3lm4gXEkt8GEO4hUUUZmM1", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12509,14 +12529,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12530,13 +12545,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12547,7 +12562,7 @@ "subject": "deprecated" } ], - "client_id": "kCI3yfixVSjvMto9BL4j33stKdOttSql", + "client_id": "KMfOuNkReFcETEZVLbfWip5ns3VsjxHT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12556,15 +12571,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -12572,9 +12582,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -12588,13 +12603,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_authentication": false, @@ -12605,7 +12620,7 @@ "subject": "deprecated" } ], - "client_id": "99qFkyKvGFiTKxHTKZZefWZfLbVQ7IuR", + "client_id": "jXrCrcnqVajECDhBwqkiGAuZn0obc5k5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12614,10 +12629,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -12664,7 +12684,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_6pcbE8NjmLYMaNPk", + "path": "/api/v2/organizations/org_98JjeO1GOLPTEzMw", "body": { "branding": { "colors": { @@ -12682,7 +12702,7 @@ "primary": "#57ddff" } }, - "id": "org_6pcbE8NjmLYMaNPk", + "id": "org_98JjeO1GOLPTEzMw", "display_name": "Organization", "name": "org1" }, @@ -12692,13 +12712,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_PqrZQ4CbcMvRFBK2", + "path": "/api/v2/organizations/org_sqjTOFGOVZmKWPsI", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_PqrZQ4CbcMvRFBK2", + "id": "org_sqjTOFGOVZmKWPsI", "display_name": "Organization2", "name": "org2" }, diff --git a/test/e2e/recordings/should-dump-without-throwing-an-error.json b/test/e2e/recordings/should-dump-without-throwing-an-error.json index cd080f2c..ec79635c 100644 --- a/test/e2e/recordings/should-dump-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-without-throwing-an-error.json @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_p1HZgKK2F2T4cXoG", + "id": "rul_ANXcw440qOoeEht3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -843,6 +843,10 @@ "description": "Create SSO Access Tickets", "value": "create:sso_access_tickets" }, + { + "description": "Delete SSO Access Tickets", + "value": "delete:sso_access_tickets" + }, { "description": "Read Forms", "value": "read:forms" @@ -962,7 +966,7 @@ "body": "", "status": 200, "response": { - "total": 8, + "total": 9, "start": 0, "limit": 100, "clients": [ @@ -1011,28 +1015,18 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -1044,7 +1038,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1052,10 +1046,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1064,9 +1058,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1098,8 +1091,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1109,14 +1101,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -1148,7 +1136,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1167,9 +1155,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -1189,7 +1189,8 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1197,42 +1198,35 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -1242,7 +1236,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1250,12 +1244,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1264,7 +1255,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -1278,16 +1269,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -1297,7 +1289,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1307,8 +1299,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1355,7 +1349,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1375,6 +1369,59 @@ "http://localhost:3000" ], "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true } ] }, @@ -1388,12 +1435,12 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -1449,8 +1496,43 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" + ] + }, + { + "id": "con_7tTU8dpv9keeCE5Q", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -1465,12 +1547,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_F2SzQr9voPPsGlSe", + "id": "con_Jd86qQK1FtuUb7xn", "options": { "mfa": { "active": true, @@ -1526,12 +1608,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5" ] }, { - "id": "con_UMCD4ZRwgr4QaHtl", + "id": "con_SSAQuf1eAS4HALWp", "options": { "email": true, "scope": [ @@ -1547,8 +1629,43 @@ "google-oauth2" ], "enabled_clients": [ - "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", - "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj" + "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", + "tniZLhIl5zfT5rHYyHvzp380qWilhZrN" + ] + }, + { + "id": "con_7tTU8dpv9keeCE5Q", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O" ] } ] @@ -1645,17 +1762,33 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/reset_email", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/welcome_email", "body": "", "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1663,7 +1796,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", "status": 404, "response": { @@ -1678,7 +1811,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -1708,7 +1841,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -1738,26 +1871,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", - "body": "", - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -1772,7 +1886,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -1787,7 +1901,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -1802,14 +1916,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/verify_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -1826,8 +1943,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_6XmFgi000nVn0B1Z", - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "id": "cgr_KE5stboZltPop0tc", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -1963,8 +2080,8 @@ ] }, { - "id": "cgr_TdblK2PQXLzaRGZ3", - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "id": "cgr_XRy0Lk9J8dl7iIt0", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2314,7 +2431,7 @@ }, { "name": "push-notification", - "enabled": true, + "enabled": false, "trial_expired": false }, { @@ -2354,7 +2471,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, "response": {}, @@ -2364,15 +2481,10 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", "body": "", "status": 200, - "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, + "response": {}, "rawHeaders": [], "responseIsBinary": false }, @@ -2395,9 +2507,7 @@ "path": "/api/v2/guardian/policies", "body": "", "status": 200, - "response": [ - "all-applications" - ], + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -2434,22 +2544,22 @@ "response": { "roles": [ { - "id": "rol_5aXYTodKygq1Yuaj", + "id": "rol_UwW0xVAq4Df6F6tI", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_YWfS3O6ZI5WrsrYW", + "id": "rol_VucPDNsmC49E1OCe", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_q30FzIeU1tOybF2I", + "id": "rol_Hgy6WgWIaceJ4YzE", "name": "read_only", "description": "Read Only" }, { - "id": "rol_GclzJFap0cQjnukV", + "id": "rol_IMHAwOaDJpqdiH2x", "name": "read_osnly", "description": "Readz Only" } @@ -2464,7 +2574,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_5aXYTodKygq1Yuaj/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_UwW0xVAq4Df6F6tI/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2479,7 +2589,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_YWfS3O6ZI5WrsrYW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_VucPDNsmC49E1OCe/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2494,7 +2604,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_q30FzIeU1tOybF2I/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Hgy6WgWIaceJ4YzE/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2509,7 +2619,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GclzJFap0cQjnukV/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_IMHAwOaDJpqdiH2x/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2634,7 +2744,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2644,7 +2754,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2694,7 +2804,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2704,7 +2814,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2774,7 +2884,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2784,7 +2894,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2794,7 +2904,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2804,7 +2914,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2864,7 +2974,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/common/custom-text/en", + "path": "/api/v2/prompts/invitation/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2874,7 +2984,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/invitation/custom-text/en", + "path": "/api/v2/prompts/common/custom-text/en", "body": "", "status": 200, "response": {}, @@ -2884,7 +2994,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -2894,7 +3004,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -2904,7 +3014,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -2914,7 +3024,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -2934,7 +3044,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -2960,7 +3070,7 @@ "response": { "actions": [ { - "id": "116f5b97-ca80-4cf2-add1-af8d18249da1", + "id": "f921cc75-2b3b-4dd8-b1dd-d3c12f61df11", "name": "My Custom Action", "supported_triggers": [ { @@ -2968,34 +3078,34 @@ "version": "v2" } ], - "created_at": "2024-10-30T13:45:56.613287913Z", - "updated_at": "2024-10-30T13:46:58.563199950Z", + "created_at": "2024-11-07T10:04:42.823412691Z", + "updated_at": "2024-11-07T10:04:42.845236889Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node16", "status": "built", "secrets": [], "current_version": { - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node16", "status": "BUILT", - "number": 2, - "build_time": "2024-10-30T13:46:59.332135805Z", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z" + "number": 1, + "build_time": "2024-11-07T10:04:43.564446766Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "b2e1bd46-fc64-489a-8263-4d7473a7fa64", + "id": "13d6692b-486f-4307-8957-64e59dfaae70", "deployed": true, - "number": 2, - "built_at": "2024-10-30T13:46:59.332135805Z", + "number": 1, + "built_at": "2024-11-07T10:04:43.564446766Z", "secrets": [], "status": "built", - "created_at": "2024-10-30T13:46:59.262838088Z", - "updated_at": "2024-10-30T13:46:59.333144112Z", + "created_at": "2024-11-07T10:04:43.485782961Z", + "updated_at": "2024-11-07T10:04:43.567038665Z", "runtime": "node16", "supported_triggers": [ { @@ -3086,19 +3196,6 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, - { - "id": "pre-user-registration", - "version": "v2", - "status": "CURRENT", - "runtimes": [ - "node12", - "node16", - "node18-actions" - ], - "default_runtime": "node18-actions", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "pre-user-registration", "version": "v1", @@ -3111,13 +3208,15 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", + "id": "pre-user-registration", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -3134,6 +3233,17 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-change-password", "version": "v2", @@ -3160,24 +3270,24 @@ }, { "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], + "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -3390,7 +3500,7 @@ "response": { "organizations": [ { - "id": "org_W3jteblmyX4vVdpE", + "id": "org_U1GPowP5fHVuX9iS", "name": "org1", "display_name": "Organization", "branding": { @@ -3401,7 +3511,7 @@ } }, { - "id": "org_uMVVAPzVdtaJkuAE", + "id": "org_TyQVczsJUGAC5u58", "name": "org2", "display_name": "Organization2" } @@ -3420,7 +3530,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -3469,28 +3579,18 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -3502,7 +3602,7 @@ "subject": "deprecated" } ], - "client_id": "tLdZIjrVwbzjrsHTchuXxXzGIEZd3541", + "client_id": "SwBMU7UEsU6wHGNZElKnz3X8UsILGj7O", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3510,10 +3610,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -3522,9 +3622,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -3556,8 +3655,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "g9oAXFPfQ25Joi0euqWgEXuSI1sNJ9WM", + "client_id": "43XVArsPLrVJXYdbm8wujhnlK08MmHxQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3567,14 +3665,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { @@ -3606,7 +3700,7 @@ "subject": "deprecated" } ], - "client_id": "f1eAWM5STuKt7zEln0hjOecvUB5K7Vk0", + "client_id": "XxZAW9HgVwMKADslEyfwzJsESjfyNIDV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3625,9 +3719,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3647,7 +3753,8 @@ "subject": "deprecated" } ], - "client_id": "G1qd9Dpkx7AiXWexIABf8UPV7ic3InQt", + "allowed_origins": [], + "client_id": "ugJJym1UHl8zqlBOvV0Xn9BRr934RRi5", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3655,42 +3762,35 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -3700,7 +3800,7 @@ "subject": "deprecated" } ], - "client_id": "cLfR0uKprRynu8kCTaqVSlE51XifFLsU", + "client_id": "PEBY5yBtbks5KueJ3x7eUTDci2p9uZqI", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3708,12 +3808,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -3722,7 +3819,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -3736,16 +3833,17 @@ "enabled": false } }, - "oidc_conformant": true, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "cross_origin_authentication": false, "signing_keys": [ @@ -3755,7 +3853,7 @@ "subject": "deprecated" } ], - "client_id": "qCFUZw3Srm44UYlRm0116Fb12rO7CyDj", + "client_id": "8UHeZZ8ZFNyYw0cDvJBN6FN1U51vROu0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3765,8 +3863,10 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -3813,7 +3913,7 @@ "subject": "deprecated" } ], - "client_id": "L8UAqk6ZoXmPJnBaQ7UMKzPZA7qNzYCP", + "client_id": "JDuuREMI6GlTmysUjewqvwIf9sYJMrQV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3834,6 +3934,59 @@ ], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_authentication": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "tniZLhIl5zfT5rHYyHvzp380qWilhZrN", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": true, @@ -3877,7 +4030,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/enabled_connections", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/enabled_connections", "body": "", "status": 200, "response": [], @@ -3887,17 +4040,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_W3jteblmyX4vVdpE/client-grants", + "path": "/api/v2/organizations/org_U1GPowP5fHVuX9iS/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/enabled_connections", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/enabled_connections", "body": "", "status": 200, "response": [], @@ -3907,10 +4065,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_uMVVAPzVdtaJkuAE/client-grants", + "path": "/api/v2/organizations/org_TyQVczsJUGAC5u58/client-grants?page=0&per_page=100&include_totals=true", "body": "", "status": 200, - "response": [], + "response": { + "client_grants": [], + "start": 0, + "limit": 100, + "total": 0 + }, "rawHeaders": [], "responseIsBinary": false }, @@ -3948,7 +4111,7 @@ ], "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 66 + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -3962,18 +4125,17 @@ "response": { "enabled": true, "shields": [ - "admin_notification" - ], - "allowlist": [ - "127.0.0.1" + "admin_notification", + "block" ], + "allowlist": [], "stage": { "pre-login": { - "max_attempts": 66, + "max_attempts": 100, "rate": 864000 }, "pre-user-registration": { - "max_attempts": 66, + "max_attempts": 50, "rate": 1200 } } @@ -3989,25 +4151,14 @@ "status": 200, "response": [ { - "id": "lst_0000000000018410", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - }, - { - "id": "lst_0000000000018411", + "id": "lst_0000000000018536", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-2d76a5e3-3564-406b-9c18-bdf29364e8f7/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a295e235-1e5f-4e06-b2dd-94469edb676f/auth0.logs" }, "filters": [ { @@ -4048,6 +4199,17 @@ } ], "isPriority": false + }, + { + "id": "lst_0000000000018537", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false } ], "rawHeaders": [],