auth0-tenant-to-tenant-user-migration-tool
Version:
Auth0 tenant to tenant user migration tool
19 lines • 652 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = getConnections;
const axios_1 = __importDefault(require("axios"));
async function getConnections(domain, token) {
const response = await axios_1.default.get(`https://${domain}/api/v2/connections`, {
headers: {
Authorization: `Bearer ${token}`,
},
params: {
strategy: 'auth0',
},
});
return response.data;
}
//# sourceMappingURL=get-connections.js.map