add window redirect for the Northflank integration

This commit is contained in:
Chukwunonso Frank
2023-07-10 12:57:16 +01:00
parent 3c45941474
commit 5e2b31cb6c
3 changed files with 1956 additions and 1939 deletions
@@ -92,6 +92,9 @@ export const redirectForProviderAuth = (integrationOption: TCloudIntegration) =>
case "cloudflare-pages": case "cloudflare-pages":
link = `${window.location.origin}/integrations/cloudflare-pages/authorize`; link = `${window.location.origin}/integrations/cloudflare-pages/authorize`;
break; break;
case "northflank":
link = `${window.location.origin}/integrations/northflank/authorize`;
break;
default: default:
break; break;
} }
+13
View File
@@ -7,6 +7,7 @@
"name": "infisical", "name": "infisical",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@types/picomatch": "^2.3.0",
"eslint": "^8.29.0", "eslint": "^8.29.0",
"husky": "^8.0.2" "husky": "^8.0.2"
} }
@@ -102,6 +103,12 @@
"node": ">= 8" "node": ">= 8"
} }
}, },
"node_modules/@types/picomatch": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@types/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-O397rnSS9iQI4OirieAtsDqvCj4+3eY1J+EPdNTKuHuRWIfUoGyzX294o8C4KJYaLqgSrd2o60c5EqCU8Zv02g==",
"dev": true
},
"node_modules/acorn": { "node_modules/acorn": {
"version": "8.8.1", "version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
@@ -1202,6 +1209,12 @@
"fastq": "^1.6.0" "fastq": "^1.6.0"
} }
}, },
"@types/picomatch": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@types/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-O397rnSS9iQI4OirieAtsDqvCj4+3eY1J+EPdNTKuHuRWIfUoGyzX294o8C4KJYaLqgSrd2o60c5EqCU8Zv02g==",
"dev": true
},
"acorn": { "acorn": {
"version": "8.8.1", "version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
+1
View File
@@ -19,6 +19,7 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@types/picomatch": "^2.3.0",
"eslint": "^8.29.0", "eslint": "^8.29.0",
"husky": "^8.0.2" "husky": "^8.0.2"
} }