Fix IP whitelist PATCH endpoint, update localStorage project id to reflect navigated to project

This commit is contained in:
Tuan Dang
2023-07-26 17:46:33 +07:00
parent 7da6d72f13
commit 7ae6d1610f
7 changed files with 43 additions and 16 deletions
@@ -35,7 +35,7 @@ export const redirectForProviderAuth = (integrationOption: TCloudIntegration) =>
// generate CSRF token for OAuth2 code-token exchange integrations
const state = crypto.randomBytes(16).toString("hex");
localStorage.setItem("latestCSRFToken", state);
let link = "";
switch (integrationOption.slug) {
case "azure-key-vault":